aboutsummaryrefslogtreecommitdiffstats
path: root/community/captagent/ac-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/captagent/ac-fix.patch')
-rw-r--r--community/captagent/ac-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/community/captagent/ac-fix.patch b/community/captagent/ac-fix.patch
new file mode 100644
index 0000000000..cbd049c11e
--- /dev/null
+++ b/community/captagent/ac-fix.patch
@@ -0,0 +1,12 @@
+diff -ru captagent-6.1.0.20/configure.ac captagent-6.1.0.20.alpine/configure.ac
+--- captagent-6.1.0.20/configure.ac 2016-06-01 14:42:19.000000000 +0300
++++ captagent-6.1.0.20.alpine/configure.ac 2017-02-03 22:06:46.098797592 +0200
+@@ -181,7 +181,7 @@
+ echo " the LDFLAGS to set its proper path.";
+ AC_MSG_ERROR([Fatal: libjson not found.])])])
+
+-AC_CHECK_LIB(fl, yywrap, [ FLEX_LIBS="-lfl" ] , [AC_MSG_ERROR([captagent requires but cannot find libfl])])
++FLEX_LIBS="-lfl"
+
+ AC_SUBST(PTHREAD_LIBS)
+ AC_SUBST(DL_LIBS)