# HG changeset patch # User Pascal Bellard # Date 1261058158 -3600 # Node ID 24ce49497140c9150afeb23bfd73518da48defe8 # Parent 5829c7d9b8cfa713878135156920c26a96710684 asterisk: add ilbc, do not stop on missing includes diff -r 5829c7d9b8cf -r 24ce49497140 asterisk/receipt --- a/asterisk/receipt Thu Dec 17 12:30:30 2009 +0100 +++ b/asterisk/receipt Thu Dec 17 14:55:58 2009 +0100 @@ -13,7 +13,9 @@ libmysqlclient libunixODBC popt dahdi libpri lua" BUILD_DEPENDS="libvorbis-dev curl-dev speex-dev alsa-lib-dev popt-dev \ libpri-dev spandsp-dev lua-dev dahdi-dev postgresql-dev net-snmp-dev \ -libsdl-dev" +libsdl-dev nbs-dev libogg-dev libogg speex spandsp iksemel iksemel-dev \ +gmime gmime-dev openssl-dev openssl unixODBC-dev unixODBC \ +openldap-dev openldap portaudio-dev portaudio" CONFIG_FILES="/etc/asterisk" # Rules to configure and make the package. @@ -23,7 +25,11 @@ compile_rules() { cd $src + sed -i '/LOG_ERROR, "The file/ {nd}' main/config.c + sed -i 's/LOG_ERROR, "The file/LOG_WARNING, "The file/' main/config.c sed -i 's|lua5.1/||' pbx/pbx_lua.c + echo '' | contrib/scripts/get_ilbc_source.sh + sed -i '/codec_ilbc/{ns/no/yes/}' menuselect-tree ./configure \ --prefix=/usr \ --sysconfdir=/etc \