summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/ntopng/files/0001-Makefile.in-don-t-use-the-internal-lua.patch
diff options
context:
space:
mode:
authorKhem Raj <khem.raj@oss.qualcomm.com>2026-03-21 07:16:11 -0700
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-03-22 14:13:01 -0700
commit01134021ff02fea76a2ef4c489ef3f2dff58f70f (patch)
treecaf99997bfd674e4b23bacd8abd3abdab46af0d0 /meta-networking/recipes-support/ntopng/files/0001-Makefile.in-don-t-use-the-internal-lua.patch
parent27282053cd8166b5e11353881d45ad6d557e3861 (diff)
downloadmeta-openembedded-01134021ff02fea76a2ef4c489ef3f2dff58f70f.tar.gz
ntopng: Upgrade to 6.6
Fix build with Lua 5.5 Add fixes to build with ndpi 5.0 Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-networking/recipes-support/ntopng/files/0001-Makefile.in-don-t-use-the-internal-lua.patch')
-rw-r--r--meta-networking/recipes-support/ntopng/files/0001-Makefile.in-don-t-use-the-internal-lua.patch36
1 files changed, 21 insertions, 15 deletions
diff --git a/meta-networking/recipes-support/ntopng/files/0001-Makefile.in-don-t-use-the-internal-lua.patch b/meta-networking/recipes-support/ntopng/files/0001-Makefile.in-don-t-use-the-internal-lua.patch
index bb5bcfbd63..402d679a90 100644
--- a/meta-networking/recipes-support/ntopng/files/0001-Makefile.in-don-t-use-the-internal-lua.patch
+++ b/meta-networking/recipes-support/ntopng/files/0001-Makefile.in-don-t-use-the-internal-lua.patch
@@ -14,26 +14,32 @@ Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
14 Makefile.in | 2 -- 14 Makefile.in | 2 --
15 1 file changed, 2 deletions(-) 15 1 file changed, 2 deletions(-)
16 16
17diff --git a/Makefile.in b/Makefile.in
18index d737e74..a611b16 100755
19--- a/Makefile.in 17--- a/Makefile.in
20+++ b/Makefile.in 18+++ b/Makefile.in
21@@ -36,7 +36,6 @@ MONGOOSE_INC=-I$(MONGOOSE_HOME) 19@@ -31,8 +31,6 @@ MONGOOSE_INC=-I$(MONGOOSE_HOME)
20
22 LUA_PLATFORM=generic 21 LUA_PLATFORM=generic
23 LUA_HOME=${PWD}/third-party/lua-5.4.3 22 LUA_HOME=${PWD}/third-party/lua-5.4.6
24 LUA_INC=-I$(LUA_HOME)/src 23-LUA_INC=-I$(LUA_HOME)/src
25-LUA_LIB=$(LUA_HOME)/src/liblua.a 24-LUA_LIB=$(LUA_HOME)/src/liblua.a
26 25
27 ifeq ($(OS),Linux) 26 HAVE_CLICKHOUSE=@HAVE_CLICKHOUSE@
28 LUA_PLATFORM=linux 27 CLICKHOUSE_HOME=
29@@ -102,7 +101,6 @@ RPM_PKG = $(TARGET)-$(NTOPNG_VERSION)-@REVISION@.$(PLATFORM).rpm 28@@ -52,7 +50,7 @@ else ifeq ($(OS),Darwin)
30 RPM_DATA_PKG = $(TARGET)-data-$(NTOPNG_VERSION)-@REVISION@.noarch.rpm 29 LUA_PLATFORM=macosx
30 else ifeq ($(OS), $(filter $(OS), FreeBSD))
31 LUA_PLATFORM=freebsd
32- LUA_LIB=/usr/local/lib/liblua-5.3.a
33+ LUA_LIB=liblua.a
34 endif
35
31 ###### 36 ######
37@@ -138,7 +136,7 @@ HEADERS = $(wildcard include/*.h) $(wild
38 INC = $(wildcard src/*.inc)
39 OBJECTS_NO_MAIN := $(filter-out src/main.o,$(OBJECTS))
32 40
33-LIB_TARGETS = $(LUA_LIB) 41-TEST_FILES = $(wildcard tests/src/*.cpp)
42+TEST_FILES = $(wildcard tests/src/*.cpp)
43 TEST_HEADERS = $(wildcard tests/include/*.h)
34 44
35 ifneq ($(HAS_ZEROMQ), 0) 45 %.o: %.c $(HEADERS) $(INC) Makefile
36 LIB_TARGETS += $(ZEROMQ_LIB)
37--
382.25.1
39