From fe9288b6a086dce614c60c1c91a858e3c852f406 Mon Sep 17 00:00:00 2001 From: blogic Date: Tue, 14 Aug 2012 18:23:29 +0000 Subject: [PATCH] [packages] freeswitch - diable asm instructions on ppc as they dont compile git-svn-id: svn://svn.openwrt.org/openwrt/packages@33189 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/freeswitch/patches/010-ppc_asm.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net/freeswitch/patches/010-ppc_asm.patch diff --git a/net/freeswitch/patches/010-ppc_asm.patch b/net/freeswitch/patches/010-ppc_asm.patch new file mode 100644 index 000000000..05db2d1a4 --- /dev/null +++ b/net/freeswitch/patches/010-ppc_asm.patch @@ -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];