mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
Merge pull request #7410 from neheb/pfr
libpfring: Fix compilation when missing lex
This commit is contained in:
@@ -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
|
||||
|
||||
10
libs/libpfring/patches/010-fix-buildbots.patch
Normal file
10
libs/libpfring/patches/010-fix-buildbots.patch
Normal file
@@ -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@
|
||||
Reference in New Issue
Block a user