From: Michael Büsch Date: Sun, 24 Oct 2010 10:24:09 +0000 (+0000) Subject: spandsp: PPC compile fix. X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=dddc57b965db3e28266c725fa8829405cfe68369;p=openwrt%2Fsvn-archive%2Farchive.git spandsp: PPC compile fix. SVN-Revision: 23609 --- diff --git a/libs/spandsp/patches/100-compile-fixes.patch b/libs/spandsp/patches/100-compile-fixes.patch new file mode 100644 index 0000000000..367dc95b56 --- /dev/null +++ b/libs/spandsp/patches/100-compile-fixes.patch @@ -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];