aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/captagent/APKBUILD11
-rw-r--r--community/captagent/autoconf-2.71.patch12
2 files changed, 20 insertions, 3 deletions
diff --git a/community/captagent/APKBUILD b/community/captagent/APKBUILD
index e2f23c4080..1240be085e 100644
--- a/community/captagent/APKBUILD
+++ b/community/captagent/APKBUILD
@@ -12,6 +12,7 @@ makedepends="autoconf automake bison expat-dev flex flex-dev json-c-dev
subpackages="$pkgname-openrc"
source="$pkgname-$pkgver.tar.gz::https://github.com/sipcapture/captagent/archive/$pkgver.tar.gz
$pkgname.initd
+ autoconf-2.71.patch
"
prepare() {
@@ -20,7 +21,8 @@ prepare() {
}
build() {
- CFLAGS="$CFLAGS -fcommon"
+ CFLAGS="$CFLAGS -fcommon" \
+ LEXLIB="-lfl" \
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -40,5 +42,8 @@ package() {
install -Dm775 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}
-sha512sums="e4043ddb92a1228fb9e4e220e503e3bd0bf9009c893e9c153fc90d15f91902ff7b86ca4b01bf2ef40056bc16647a3838fcfb88f76503f41f4bea88d054e4d7de captagent-6.3.1.tar.gz
-fdd3de15ffd46c5fe08e94533628809373f0afd64c249d308ff4cd649ffa249ff0412c83668f882db71a1bd23879e27528b6ee4a1abccf09b545b92aea4ab646 captagent.initd"
+sha512sums="
+e4043ddb92a1228fb9e4e220e503e3bd0bf9009c893e9c153fc90d15f91902ff7b86ca4b01bf2ef40056bc16647a3838fcfb88f76503f41f4bea88d054e4d7de captagent-6.3.1.tar.gz
+fdd3de15ffd46c5fe08e94533628809373f0afd64c249d308ff4cd649ffa249ff0412c83668f882db71a1bd23879e27528b6ee4a1abccf09b545b92aea4ab646 captagent.initd
+29840ca17118efde6e9c99a1f9c509112b384c13d490fe85fdb5fa3bfec6fe588de8efabb2be2f20350bd2028a9fc54cdf20d6263d7abb6916d0578b9960d7d6 autoconf-2.71.patch
+"
diff --git a/community/captagent/autoconf-2.71.patch b/community/captagent/autoconf-2.71.patch
new file mode 100644
index 0000000000..49e330fca7
--- /dev/null
+++ b/community/captagent/autoconf-2.71.patch
@@ -0,0 +1,12 @@
+diff -urN captagent-6.3.1.orig/configure.ac captagent-6.3.1/configure.ac
+--- captagent-6.3.1.orig/configure.ac 2021-05-23 08:50:19.526922187 -0600
++++ captagent-6.3.1/configure.ac 2021-05-23 08:50:41.406989317 -0600
+@@ -170,7 +170,7 @@
+ AC_PROG_MAKE_SET
+ AC_LIBTOOL_DLOPEN
+ AC_PROG_LIBTOOL
+-AC_PROG_LEX
++AC_PROG_LEX([noyywrap])
+
+ if test "x$LEXLIB" = "x"; then
+ AC_MSG_ERROR([captagent requires but cannot find libfl])