aboutsummaryrefslogtreecommitdiff
path: root/libs/libpfring
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2018-11-13 12:40:53 -0800
committerRosen Penev <rosenp@gmail.com>2018-11-13 13:41:47 -0800
commit3ea82cd80095e837ef37a1d2935f29b4d6cadd85 (patch)
tree375fe45f208f7ef79ef2385699a6e133e2ce4a7b /libs/libpfring
parent8376d309811c96a830709c29adaacb0b4a13edb7 (diff)
libpfring: Fix compilation when missing lex
Buildbots are missing lex, which is normally a symlink to flex. This solution is used elsewhere in the package but missing here. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libs/libpfring')
-rw-r--r--libs/libpfring/Makefile2
-rw-r--r--libs/libpfring/patches/010-fix-buildbots.patch10
2 files changed, 11 insertions, 1 deletions
diff --git a/libs/libpfring/Makefile b/libs/libpfring/Makefile
index e7bedbddb..1da4e4e70 100644
--- a/libs/libpfring/Makefile
+++ b/libs/libpfring/Makefile
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=libpfring
PKG_VERSION:=7.2.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_MAINTAINER:=Banglang Huang <banglang.huang@foxmail.com>
PKG_LICENSE:=LGPL-2.1
diff --git a/libs/libpfring/patches/010-fix-buildbots.patch b/libs/libpfring/patches/010-fix-buildbots.patch
new file mode 100644
index 000000000..f5f153e9d
--- /dev/null
+++ b/libs/libpfring/patches/010-fix-buildbots.patch
@@ -0,0 +1,10 @@
+diff --git a/userland/nbpf/Makefile.in b/userland/nbpf/Makefile.in
+index b0d8181..8221e41 100644
+--- a/userland/nbpf/Makefile.in
++++ b/userland/nbpf/Makefile.in
+@@ -1,4 +1,4 @@
+-LEX = lex
++LEX = flex
+ YACC = bison
+ INCLUDE = -I../lib -I../../kernel
+ LIBS=`../lib/pfring_config --libs` -lpthread #@NDPI_LIB@