spandsp: PPC compile fix.
authormb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 24 Oct 2010 10:24:09 +0000 (10:24 +0000)
committermb <mb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 24 Oct 2010 10:24:09 +0000 (10:24 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23609 3c298f89-4303-0410-b956-a3cf2f4a3e73

libs/spandsp/patches/100-compile-fixes.patch [new file with mode: 0644]

diff --git a/libs/spandsp/patches/100-compile-fixes.patch b/libs/spandsp/patches/100-compile-fixes.patch
new file mode 100644 (file)
index 0000000..367dc95
--- /dev/null
@@ -0,0 +1,13 @@
+Index: spandsp-0.0.6/src/spandsp/fast_convert.h
+===================================================================
+--- spandsp-0.0.6.orig/src/spandsp/fast_convert.h      2010-10-24 12:20:25.000000000 +0200
++++ spandsp-0.0.6/src/spandsp/fast_convert.h   2010-10-24 12:21:39.000000000 +0200
+@@ -197,7 +197,7 @@
+     {
+         return (long int) (x);
+     }
+-#elif defined(__ppc__)  ||   defined(__powerpc__)
++#elif defined(THISISNOTDEFINEDYADDAYADDA)
+     static __inline__ long int lfastrint(register double x)
+     {
+         int res[2];