freeswitch - diable asm instructions on ppc as they dont compile
authorJohn Crispin <john@openwrt.org>
Tue, 14 Aug 2012 18:23:29 +0000 (18:23 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 14 Aug 2012 18:23:29 +0000 (18:23 +0000)
SVN-Revision: 33189

net/freeswitch/patches/010-ppc_asm.patch [new file with mode: 0644]

diff --git a/net/freeswitch/patches/010-ppc_asm.patch b/net/freeswitch/patches/010-ppc_asm.patch
new file mode 100644 (file)
index 0000000..05db2d1
--- /dev/null
@@ -0,0 +1,13 @@
+Index: freeswitch-1.0.7/libs/spandsp/src/spandsp/fast_convert.h
+===================================================================
+--- freeswitch-1.0.7.orig/libs/spandsp/src/spandsp/fast_convert.h      2012-08-14 19:52:20.000000000 +0200
++++ freeswitch-1.0.7/libs/spandsp/src/spandsp/fast_convert.h   2012-08-14 19:53:01.000000000 +0200
+@@ -195,7 +195,7 @@
+     {
+         return (long int) (x);
+     }
+-#elif defined(__ppc__)  ||   defined(__powerpc__)
++#elif 0 /* defined(__ppc__)  ||   defined(__powerpc__) */
+     static __inline__ long int lfastrint(register double x)
+     {
+         int res[2];