From b8aaef49a306783d6c5b96e7fdb19338ad53695a Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 28 Nov 2026 15:31:21 +0100 Subject: [PATCH] wifidog: build with GNU C17 GCC 15 interprets libhttpd's empty callback parameter lists as zero-argument prototypes in GNU C23. The library passes the server, request and status to its error callbacks. It also uses legacy declarations for route and preload callbacks. Use GNU C17 for the normal and TLS variants, preserving the libhttpd callback interface and leaving compiler diagnostics enabled. Assisted-by: LLM Signed-off-by: Hauke Mehrtens --- net/wifidog/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/wifidog/Makefile b/net/wifidog/Makefile index d099e7ed7a..67cc0210c1 100644 --- a/net/wifidog/Makefile +++ b/net/wifidog/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wifidog PKG_VERSION:=1.3.0 -PKG_RELEASE:=10 +PKG_RELEASE:=11 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/wifidog/wifidog-gateway @@ -25,6 +25,8 @@ PKG_INSTALL:=0 include $(INCLUDE_DIR)/package.mk +TARGET_CFLAGS += -std=gnu17 + define Package/wifidog/Default SUBMENU:=Captive Portals SECTION:=net