summaryrefslogtreecommitdiff
path: root/packages/asterisk/asterisk-1.2.28/enable-speex.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2008-05-01 10:29:54 +0000
committerMichael Lauer <mickey@vanille-media.de>2008-05-01 10:29:54 +0000
commitde1d1324ccbf439e1902ed7e975642dbcdd7beb8 (patch)
tree1d8ee911f79d7dd24d377dd0bf4619699c253120 /packages/asterisk/asterisk-1.2.28/enable-speex.patch
parent3338a47c2494662ce4e277c7215c1584ec6b0f53 (diff)
parent158d2f97769e0a22db98f1e39a6bd6fb7ccb627a (diff)
merge of '77e6de1879d8cb9e2cedcd283c5c43e8c333cc65'
and 'a73b62bfa46dd3bec609e1b1307c59a93f4a4469'
Diffstat (limited to 'packages/asterisk/asterisk-1.2.28/enable-speex.patch')
-rw-r--r--packages/asterisk/asterisk-1.2.28/enable-speex.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/asterisk/asterisk-1.2.28/enable-speex.patch b/packages/asterisk/asterisk-1.2.28/enable-speex.patch
new file mode 100644
index 0000000000..0f5c578bd9
--- /dev/null
+++ b/packages/asterisk/asterisk-1.2.28/enable-speex.patch
@@ -0,0 +1,21 @@
+--- /codecs/orig-Makefile 2005-11-29 13:24:39.000000000 -0500
++++ /codecs/Makefile 2007-02-28 09:54:42.000000000 -0500
+@@ -29,7 +29,7 @@
+ endif
+
+ UI_SPEEX=$(wildcard $(CROSS_COMPILE_TARGET)/usr/include/speex.h)
+-UIS_SPEEX=$(wildcard $(CROSS_COMPILE_TARGET)/usr/include/speex/speex.h)
++UIS_SPEEX=$(wildcard $(CROSS_COMPILE_TARGET)/include/speex/speex.h)
+ ULI_SPEEX=$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/speex.h)
+ ULIS_SPEEX=$(wildcard $(CROSS_COMPILE_TARGET)/usr/local/include/speex/speex.h)
+ ifneq (${UI_SPEEX},)
+@@ -38,7 +38,8 @@
+ endif
+ ifneq (${UIS_SPEEX},)
+ MODSPEEX=codec_speex.so
+- CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/include/speex
++ CFLAGS+=-I$(CROSS_COMPILE_TARGET)/include/speex
++ LIBSPEEX=-L$(CROSS_COMPILE_TARGET)/lib
+ LIBSPEEX+=-lspeex -lm
+ endif
+ ifneq (${ULI_SPEEX},)