aboutsummaryrefslogtreecommitdiffstats
path: root/main/asterisk
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-02-08 10:46:46 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-02-08 10:46:46 +0200
commita5252199bce800136c3427af7e070db7842c6c78 (patch)
tree75669adfeec4f8a0f9e47b021ff1e6a3b1379af4 /main/asterisk
parent008450c05a4e24e9be538c27f03082e4cdd5fbc3 (diff)
downloadaports-a5252199bce800136c3427af7e070db7842c6c78.tar.bz2
aports-a5252199bce800136c3427af7e070db7842c6c78.tar.xz
main/asterisk: disable res_n* interface manually
uclibc-0.9.33 implements res_ninit but not res_nquery or others. The configure checks only for res_ninit and assumes other functions are then present too, but this breaks build against new uclibc. Just disable the res_ninit check for now.
Diffstat (limited to 'main/asterisk')
-rw-r--r--main/asterisk/APKBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/asterisk/APKBUILD b/main/asterisk/APKBUILD
index adb0664cba..1559b7ee92 100644
--- a/main/asterisk/APKBUILD
+++ b/main/asterisk/APKBUILD
@@ -41,6 +41,7 @@ prepare() {
sed -i -e 's:lua5.1/::' pbx/pbx_lua.c
sed -i -e 's/PBX_ICONV=1/PBX_ICONV=0/g' configure.ac
+ sed -i -e 's/int foo = res_ninit(NULL);/res_ninit_is_not_really_here();/g' configure.ac
./bootstrap.sh
}