diff options
author | Stelios Koroneos <skoroneos@digital-opsis.com> | 2007-11-20 10:37:28 +0000 |
---|---|---|
committer | Stelios Koroneos <skoroneos@digital-opsis.com> | 2007-11-20 10:37:28 +0000 |
commit | d270525e080bca76a462ddb23e0cbb990ef32bfa (patch) | |
tree | ec9fdc69812a292051ccd6e0e90c68fcdb707c84 | |
parent | 423e8061afea485bdb8189a87b42ea34d75be201 (diff) | |
parent | 1fbb2f5f8e941e136816278e74d19c0a44ec0e1a (diff) |
merge of '9f9b86bbd2f122252996f226e9935395f5db92c5'
and 'eef79e907bd4bf985b56b57027a4b9fb08dbd26a'
-rw-r--r-- | packages/liboil/liboil-0.3.11/.mtn2git_empty | 0 | ||||
-rw-r--r-- | packages/liboil/liboil-0.3.11/ppc-detect-fpu.patch | 11 | ||||
-rw-r--r-- | packages/liboil/liboil_0.3.11.bb | 4 |
3 files changed, 14 insertions, 1 deletions
diff --git a/packages/liboil/liboil-0.3.11/.mtn2git_empty b/packages/liboil/liboil-0.3.11/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/liboil/liboil-0.3.11/.mtn2git_empty diff --git a/packages/liboil/liboil-0.3.11/ppc-detect-fpu.patch b/packages/liboil/liboil-0.3.11/ppc-detect-fpu.patch new file mode 100644 index 0000000000..49485e3648 --- /dev/null +++ b/packages/liboil/liboil-0.3.11/ppc-detect-fpu.patch @@ -0,0 +1,11 @@ +--- /m4/orig-as-gcc-inline-assembly.m4 2007-03-17 04:03:30.000000000 +0200 ++++ /m4/as-gcc-inline-assembly.m4 2007-11-20 12:20:24.000000000 +0200 +@@ -38,7 +38,7 @@ + [ + AC_MSG_CHECKING([if compiler supports FPU instructions on PowerPC]) + +- AC_TRY_COMPILE([], [__asm__ ("fadd 0,0,0"::) ], [flag_ok=yes], [flag_ok=no]) ++ AC_TRY_COMPILE([], [double x = 0; __asm__ ("fadd 0,0,0"::"f" (x):"32") ], [flag_ok=yes], [flag_ok=no]) + + if test "X$flag_ok" = Xyes ; then + $1 diff --git a/packages/liboil/liboil_0.3.11.bb b/packages/liboil/liboil_0.3.11.bb index 94471a26fc..352377ed6b 100644 --- a/packages/liboil/liboil_0.3.11.bb +++ b/packages/liboil/liboil_0.3.11.bb @@ -1,8 +1,10 @@ DESCRIPTION = "Liboil is a library of simple functions that are optimized for various CPUs." HOMEPAGE = "http://liboil.freedesktop.org/" LICENSE = "various" +PR="r1" -SRC_URI = "http://liboil.freedesktop.org/download/${P}.tar.gz" +SRC_URI = "http://liboil.freedesktop.org/download/${P}.tar.gz \ + file://ppc-detect-fpu.patch;patch=1" inherit autotools pkgconfig |