aboutsummaryrefslogtreecommitdiffstats
path: root/main/libpri
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-09-27 14:19:28 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-09-27 14:22:26 +0000
commit1751d6595597f1d9101cac04e54f20d95790f4f4 (patch)
treee895c3aa71985691256eca03cf4f7cdfeb0d966b /main/libpri
parentee152f9e0dce8017d033e01e018f1482d27e7e1d (diff)
downloadaports-1751d6595597f1d9101cac04e54f20d95790f4f4.tar.bz2
aports-1751d6595597f1d9101cac04e54f20d95790f4f4.tar.xz
main/[various]: fix build against musl (add update_config_sub)
Diffstat (limited to 'main/libpri')
-rw-r--r--main/libpri/APKBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/libpri/APKBUILD b/main/libpri/APKBUILD
index 33c8ae926c..e7ef3d9032 100644
--- a/main/libpri/APKBUILD
+++ b/main/libpri/APKBUILD
@@ -16,6 +16,12 @@ source="http://downloads.digium.com/pub/telephony/libpri/releases/$pkgname-$_pkg
_builddir="$srcdir/$pkgname-$_pkgver"
+prepare() {
+ cd "$_builddir"
+ sed -i -e 's,^#include <sys/signal.h>$,#include <signal.h>,g' \
+ pritest.c testprilib.c
+}
+
build() {
cd "$_builddir"
for i in $source; do