madplay: fix compilation with GCC 15
authorTil Kaiser <mail@tk154.de>
Tue, 6 Jan 2026 14:52:45 +0000 (15:52 +0100)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 18 Jan 2026 05:35:21 +0000 (07:35 +0200)
Define __GNU_LIBRARY__ for a proper getopt
declaration when building with GCC 15.

Signed-off-by: Til Kaiser <mail@tk154.de>
sound/madplay/Makefile

index 15a65800f70a57e00760add86e8567c27dcefa81..c3cc8e3a4e51f47fe467a9a8e71953615fc305bb 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=madplay
 PKG_VERSION:=0.15.2b
-PKG_RELEASE:=10
+PKG_RELEASE:=11
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/mad \
@@ -53,6 +53,8 @@ CONFIGURE_ARGS += \
 CONFIGURE_VARS += \
        lt_prog_compiler_pic="$(FPIC)"
 
+TARGET_CFLAGS += -D__GNU_LIBRARY__
+
 MAKE_FLAGS += CFLAGS="$(TARGET_CFLAGS)"
 
 define Package/madplay/install