lcdproc: fiz compilation with gcc15
authorRosen Penev <[email protected]>
Thu, 9 Oct 2025 02:13:39 +0000 (19:13 -0700)
committerHannu Nyman <[email protected]>
Sun, 12 Oct 2025 17:03:09 +0000 (20:03 +0300)
__GNU__LIBRARY needs to be defined for a proper definition.

Signed-off-by: Rosen Penev <[email protected]>
utils/lcdproc/Makefile

index 1a22607f8b3fb457d319fa55ef8c7bb8b129d6ed..d1a6da4aa12269cba3f8145eed99bc40ba41bd58 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=lcdproc
 PKG_VERSION:=0.5.9
-PKG_RELEASE:=8
+PKG_RELEASE:=9
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/lcdproc/lcdproc/releases/download/v$(PKG_VERSION)/
@@ -132,6 +132,7 @@ MAKE_FLAGS += \
         CFLAGS="$(TARGET_CFLAGS)" \
         LDFLAGS="$(TARGET_LDFLAGS)"
 
+TARGET_CFLAGS += -D__GNU_LIBRARY__
 
 define Package/lcdproc-clients/install
        $(INSTALL_DIR) $(1)/usr/bin