aboutsummaryrefslogtreecommitdiffstats
path: root/main/libpri/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/libpri/APKBUILD')
-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