fix asterisk 1.6.x compile on powerpc
authorFelix Fietkau <nbd@openwrt.org>
Fri, 6 Feb 2009 00:12:20 +0000 (00:12 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 6 Feb 2009 00:12:20 +0000 (00:12 +0000)
SVN-Revision: 14416

net/asterisk-1.6.x/patches/210-ppc_fix.patch [new file with mode: 0644]

diff --git a/net/asterisk-1.6.x/patches/210-ppc_fix.patch b/net/asterisk-1.6.x/patches/210-ppc_fix.patch
new file mode 100644 (file)
index 0000000..1fa746c
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/apps/app_festival.c
++++ b/apps/app_festival.c
+@@ -120,6 +120,7 @@
+       int res;
+ #ifdef __PPC__ 
+       char c;
++      int x;
+ #endif
+       res = ast_safe_fork(0);