summaryrefslogtreecommitdiff
path: root/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-codecs-gsm.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-12-15 08:22:57 +0000
committerNicolas Thill <nico@openwrt.org>2005-12-15 08:22:57 +0000
commita8780cfe237c54b9d0f606ef038b6ecbd3cf633e (patch)
treed593a0cd1421310536685952b23c32162d3f3af5 /openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-codecs-gsm.patch
parente3f2355a129d934a24400f9931f5bd1570995ce4 (diff)
downloadmtk-20170518-a8780cfe237c54b9d0f606ef038b6ecbd3cf633e.zip
mtk-20170518-a8780cfe237c54b9d0f606ef038b6ecbd3cf633e.tar.gz
mtk-20170518-a8780cfe237c54b9d0f606ef038b6ecbd3cf633e.tar.bz2
update asterisk to new upstream release (v1.2.1)
SVN-Revision: 2682
Diffstat (limited to 'openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-codecs-gsm.patch')
-rw-r--r--openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-codecs-gsm.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-codecs-gsm.patch b/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-codecs-gsm.patch
new file mode 100644
index 0000000..ec49daf
--- /dev/null
+++ b/openwrt/package/asterisk/patches/asterisk-1.2.0-Makefile-codecs-gsm.patch
@@ -0,0 +1,35 @@
+diff -ruN asterisk-1.2.0-old/codecs/gsm/Makefile asterisk-1.2.0-new/codecs/gsm/Makefile
+--- asterisk-1.2.0-old/codecs/gsm/Makefile 2005-11-08 04:31:45.000000000 +0100
++++ asterisk-1.2.0-new/codecs/gsm/Makefile 2005-12-04 13:31:50.000000000 +0100
+@@ -236,6 +236,7 @@
+ ifneq ($(shell uname -m),armv4l)
+ ifneq ($(shell uname -m),sparc64)
+ ifneq (${PROC},arm)
++ifneq (${PROC},mipsel)
+ GSM_SOURCES+= $(SRC)/k6opt.s
+ endif
+ endif
+@@ -245,6 +246,7 @@
+ endif
+ endif
+ endif
++endif
+
+ TOAST_SOURCES = $(SRC)/toast.c \
+ $(SRC)/toast_lin.c \
+@@ -297,6 +299,7 @@
+ ifneq ($(shell uname -m), alpha)
+ ifneq ($(shell uname -m), sparc64)
+ ifneq ($(shell uname -m), armv4l)
++ifneq (${PROC}, mipsel)
+ GSM_OBJECTS+= $(SRC)/k6opt.o
+ endif
+ endif
+@@ -305,6 +308,7 @@
+ endif
+ endif
+ endif
++endif
+
+ TOAST_OBJECTS = $(SRC)/toast.o \
+ $(SRC)/toast_lin.o \