summaryrefslogtreecommitdiff
path: root/packages/asterisk/asterisk-1.2.23/enable-speex.patch
diff options
context:
space:
mode:
authorStelios Koroneos <skoroneos@digital-opsis.com>2007-07-26 14:03:00 +0000
committerStelios Koroneos <skoroneos@digital-opsis.com>2007-07-26 14:03:00 +0000
commit217eacb5d1eedaaa41a327ecea4b787e5952ae93 (patch)
tree18266784d507cbdb2f1f2d69b9e619368b0cb352 /packages/asterisk/asterisk-1.2.23/enable-speex.patch
parent623b1746e32bd1c071f6d3669776ff47ac762eda (diff)
parent12988d4665a5c6f17c910fc215f935901bd397a8 (diff)
merge of '0555144bbfce710d5332e8c393cf6caf99ce8c8b'
and '1454176608882d4fcee0bbb932b9a80e843b55be'
Diffstat (limited to 'packages/asterisk/asterisk-1.2.23/enable-speex.patch')
-rw-r--r--packages/asterisk/asterisk-1.2.23/enable-speex.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/asterisk/asterisk-1.2.23/enable-speex.patch b/packages/asterisk/asterisk-1.2.23/enable-speex.patch
new file mode 100644
index 0000000000..0f5c578bd9
--- /dev/null
+++ b/packages/asterisk/asterisk-1.2.23/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},)