summaryrefslogtreecommitdiff
path: root/openwrt/package/asterisk/patches/asterisk-1.0.7-Makefile-codecs-lpc10.patch
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-07-11 12:48:09 +0000
committerNicolas Thill <nico@openwrt.org>2005-07-11 12:48:09 +0000
commit92846b914a8c1e3abffe480813183f16c1425290 (patch)
tree7196b03459252abed6f51691e6558b6f61d6d96f /openwrt/package/asterisk/patches/asterisk-1.0.7-Makefile-codecs-lpc10.patch
parentb046439bf8e2c52e951cd8160ffee8788585eba5 (diff)
downloadmtk-20170518-92846b914a8c1e3abffe480813183f16c1425290.zip
mtk-20170518-92846b914a8c1e3abffe480813183f16c1425290.tar.gz
mtk-20170518-92846b914a8c1e3abffe480813183f16c1425290.tar.bz2
Update to new upstream release (v1.0.9), Split makefile patch into multiple patches, Add no-gtk fix from whiterussian.
SVN-Revision: 1402
Diffstat (limited to 'openwrt/package/asterisk/patches/asterisk-1.0.7-Makefile-codecs-lpc10.patch')
-rw-r--r--openwrt/package/asterisk/patches/asterisk-1.0.7-Makefile-codecs-lpc10.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/openwrt/package/asterisk/patches/asterisk-1.0.7-Makefile-codecs-lpc10.patch b/openwrt/package/asterisk/patches/asterisk-1.0.7-Makefile-codecs-lpc10.patch
new file mode 100644
index 0000000..7d42250
--- /dev/null
+++ b/openwrt/package/asterisk/patches/asterisk-1.0.7-Makefile-codecs-lpc10.patch
@@ -0,0 +1,28 @@
+diff -ruN asterisk-1.0.7-old/codecs/lpc10/Makefile asterisk-1.0.7-new/codecs/lpc10/Makefile
+--- asterisk-1.0.7-old/codecs/lpc10/Makefile 2004-08-31 18:33:00.000000000 +0200
++++ asterisk-1.0.7-new/codecs/lpc10/Makefile 2005-03-19 17:38:06.000000000 +0100
+@@ -31,6 +31,7 @@
+ ifneq ($(PROC),ppc)
+ ifneq ($(PROC),x86_64)
+ ifneq ($(PROC),alpha)
++ifneq ($(PROC),mipsel)
+ #The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
+ #This works for even old (2.96) versions of gcc and provides a small boost either way.
+ #A ultrasparc cpu is really v9 but the stock debian stable 3.0 gcc doesn.t support it.
+@@ -46,6 +47,7 @@
+ endif
+ endif
+ endif
++endif
+
+ LIB = $(LIB_TARGET_DIR)/liblpc10.a
+
+@@ -62,7 +64,7 @@
+
+ $(LIB): $(OBJ)
+ $(AR) cr $@ $(OBJ)
+- ranlib $@
++ $(RANLIB) $@
+
+ clean:
+ -rm -f *.o $(LIB)