From 666d09a5485c210bf3a861b0a14b1fcb07a24592 Mon Sep 17 00:00:00 2001 From: nico Date: Mon, 11 Jul 2005 12:48:09 +0000 Subject: Update to new upstream release (v1.0.9), Split makefile patch into multiple patches, Add no-gtk fix from whiterussian. git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1402 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches/asterisk-1.0.7-Makefile-codecs.patch | 69 ++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 package/asterisk/patches/asterisk-1.0.7-Makefile-codecs.patch (limited to 'package/asterisk/patches/asterisk-1.0.7-Makefile-codecs.patch') diff --git a/package/asterisk/patches/asterisk-1.0.7-Makefile-codecs.patch b/package/asterisk/patches/asterisk-1.0.7-Makefile-codecs.patch new file mode 100644 index 000000000..1a854a06e --- /dev/null +++ b/package/asterisk/patches/asterisk-1.0.7-Makefile-codecs.patch @@ -0,0 +1,69 @@ +diff -ruN asterisk-1.0.7-old/codecs/Makefile asterisk-1.0.7-new/codecs/Makefile +--- asterisk-1.0.7-old/codecs/Makefile 2005-03-17 15:43:51.000000000 +0100 ++++ asterisk-1.0.7-new/codecs/Makefile 2005-03-22 23:26:20.000000000 +0100 +@@ -17,21 +17,21 @@ + # g723.1b) + # + #MODG723=codec_g723_1.so codec_g723_1b.so +-MODG723=$(shell [ -f g723.1/coder.c ] && echo "codec_g723_1.so") +-MODG723+=$(shell [ -f g723.1b/coder2.c ] && echo "codec_g723_1b.so") +-MODSPEEX=$(shell [ -f /usr/include/speex.h ] || [ -f /usr/include/speex/speex.h ] || [ -f /usr/local/include/speex.h ] || [ -f /usr/local/include/speex/speex.h ] && echo "codec_speex.so") ++#MODG723=$(shell [ -f g723.1/coder.c ] && echo "codec_g723_1.so") ++#MODG723+=$(shell [ -f g723.1b/coder2.c ] && echo "codec_g723_1b.so") ++#MODSPEEX=$(shell [ -f /usr/include/speex.h ] || [ -f /usr/include/speex/speex.h ] || [ -f /usr/local/include/speex.h ] || [ -f /usr/local/include/speex/speex.h ] && echo "codec_speex.so") + MODILBC=$(shell [ -f ilbc/iLBC_decode.h ] && echo "codec_ilbc.so") + CFLAGS+=-fPIC +-CFLAGS+=$(shell [ -f /usr/local/include/speex.h ] && echo "-I/usr/local/include") +-CFLAGS+=$(shell [ -f /usr/local/include/speex/speex.h ] && echo "-I/usr/local/include/speex") +-CFLAGS+=$(shell [ -f /usr/include/speex/speex.h ] && echo "-I/usr/include/speex") ++#CFLAGS+=$(shell [ -f /usr/local/include/speex.h ] && echo "-I/usr/local/include") ++#CFLAGS+=$(shell [ -f /usr/local/include/speex/speex.h ] && echo "-I/usr/local/include/speex") ++#CFLAGS+=$(shell [ -f /usr/include/speex/speex.h ] && echo "-I/usr/include/speex") + + LIBG723=g723.1/libg723.a + LIBG723B=g723.1b/libg723b.a + LIBGSM=gsm/lib/libgsm.a + LIBGSMT=gsm/lib/libgsm.a + LIBLPC10=lpc10/liblpc10.a +-LIBSPEEX=$(shell [ -f /usr/local/lib/libspeex.a ] && echo "-L/usr/local/lib") ++LIBSPEEX=$(LDFLAGS_EXTRA) + LIBSPEEX+=-lspeex -lm + LIBILBC=ilbc/libilbc.a + +@@ -43,26 +43,26 @@ + + clean: + rm -f *.so *.o .depend +- ! [ -d g723.1 ] || $(MAKE) -C g723.1 clean +- ! [ -d g723.1b ] || $(MAKE) -C g723.1b clean +- $(MAKE) -C gsm clean +- $(MAKE) -C lpc10 clean +- $(MAKE) -C ilbc clean ++ ! [ -d g723.1 ] || $(MAKE) PROC=$(PROC) -C g723.1 clean ++ ! [ -d g723.1b ] || $(MAKE) PROC=$(PROC) -C g723.1b clean ++ $(MAKE) PROC=$(PROC) -C gsm clean ++ $(MAKE) PROC=$(PROC) -C lpc10 clean ++ $(MAKE) PROC=$(PROC) -C ilbc clean + + $(LIBG723): +- $(MAKE) -C g723.1 all ++ $(MAKE) PROC=$(PROC) -C g723.1 all + + gsm/lib/libgsm.a: +- $(MAKE) -C gsm lib/libgsm.a ++ $(MAKE) PROC=$(PROC) -C gsm lib/libgsm.a + + $(LIBG723B): +- $(MAKE) -C g723.1b all ++ $(MAKE) PROC=$(PROC) -C g723.1b all + + $(LIBLPC10): +- $(MAKE) -C lpc10 all ++ $(MAKE) PROC=$(PROC) -C lpc10 all + + $(LIBILBC): +- $(MAKE) -C ilbc all ++ $(MAKE) PROC=$(PROC) -C ilbc all + + codec_ilbc.so: codec_ilbc.o $(LIBILBC) + $(CC) $(SOLINK) -o $@ $< $(LIBILBC) -- cgit v1.2.3