summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Baryshkov <dbaryshkov@gmail.com>2008-11-05 15:54:50 +0300
committerDmitry Baryshkov <dbaryshkov@gmail.com>2008-11-11 21:36:45 +0300
commitb311c53578da30706ad4ecd6b25fadf3bd1a199f (patch)
treeaaf19bf141ce6fdfd877bb7aa8a0e574afc55de3
parent758fb416d5958fcf8131c6e56eced7cd6fc2a53e (diff)
linphone: fix building with current speex
Signed-off-by: Dmitry Baryshkov <dbaryshkov@gmail.com>
-rw-r--r--packages/linphone/linphone-1.6.0/linphone-speex.diff13
-rw-r--r--packages/linphone/linphone_1.6.0.bb3
2 files changed, 15 insertions, 1 deletions
diff --git a/packages/linphone/linphone-1.6.0/linphone-speex.diff b/packages/linphone/linphone-1.6.0/linphone-speex.diff
new file mode 100644
index 0000000000..930c774a41
--- /dev/null
+++ b/packages/linphone/linphone-1.6.0/linphone-speex.diff
@@ -0,0 +1,13 @@
+Index: linphone-1.6.0/mediastreamer2/configure.ac
+===================================================================
+--- linphone-1.6.0.orig/mediastreamer2/configure.ac 2008-11-04 03:41:04.936798321 +0300
++++ linphone-1.6.0/mediastreamer2/configure.ac 2008-11-04 03:41:09.589036036 +0300
+@@ -253,7 +253,7 @@ dnl check for various codecs libraries
+ dnl *************************************
+
+ dnl check for installed version of speex
+-PKG_CHECK_MODULES(SPEEX, speex >= 1.1.12,
++PKG_CHECK_MODULES(SPEEX, speex >= 1.1.12 speexdsp,
+ [ AC_DEFINE(HAVE_SPEEX_NOISE,1,[tells whether the noise arg of speex_echo_cancel can be used]) ],
+ [try_other_speex=yes]
+ )
diff --git a/packages/linphone/linphone_1.6.0.bb b/packages/linphone/linphone_1.6.0.bb
index fe40b6a270..64b2dafdd2 100644
--- a/packages/linphone/linphone_1.6.0.bb
+++ b/packages/linphone/linphone_1.6.0.bb
@@ -21,7 +21,8 @@ PROVIDES += "linphone linphonec liblinphone"
PR = "r3"
SRC_URI = "http://download.savannah.nongnu.org/releases/linphone/1.6.x/sources/linphone-${PV}.tar.gz \
- http://download.devbase.at/voip/linphone-1.6.0-pl0.patch;patch=1"
+ http://download.devbase.at/voip/linphone-1.6.0-pl0.patch;patch=1 \
+ file://linphone-speex.diff;patch=1"
S = "${WORKDIR}/linphone-${PV}"