From c4c6ad81bfa4dd5b12c230c450dbf798c5a1542d Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Mon, 28 Sep 2026 15:07:56 +0200 Subject: [PATCH] package/wireshark: fix support for lua Since version 4.4.0 of wireshark, support for Lua 5.3 and 5.4 has been added, and support for Lua 5.1 and 5.2 has been removed. See https://www.wireshark.org/docs/relnotes/wireshark-4.4.0.html This fixes an infinite loop during the build, as for some reason when Lua 5.1 is available, the CMake check for Lua 5.3 or 5.4 loops indefinitely, with cmake taking up 100% of one CPU core. Fixes: 49fa20e6678ee32e4b26979f5cb4d149876fbedd ("package/wireshark: bump to latest upstream stable v4.4.9") Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- package/wireshark/wireshark.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk index a67b915b5b..c394f85beb 100644 --- a/package/wireshark/wireshark.mk +++ b/package/wireshark/wireshark.mk @@ -109,8 +109,7 @@ else WIRESHARK_CONF_OPTS += -DENABLE_LIBXML2=OFF endif -# no support for lua53 yet -ifeq ($(BR2_PACKAGE_LUA_5_1),y) +ifeq ($(BR2_PACKAGE_LUA_5_3)$(BR2_PACKAGE_LUA_5_4),y) WIRESHARK_CONF_OPTS += -DENABLE_LUA=ON WIRESHARK_DEPENDENCIES += lua else