mirror of
https://github.com/openwrt/packages.git
synced 2026-12-03 04:55:30 +04:00
alpine: use GNU C17 for the legacy collation APIs
GCC 15 defaults to GNU C23, where an empty parameter list specifies zero arguments. Alpine's unprototyped strucmp declaration conflicts with its two-argument definition, and the compiler rejects calls through its collation callback. Build this source in GNU C17 mode so its legacy declarations retain the intended semantics. Fedora used the same dialect for the still-affected Alpine 2.26 release. Link: https://bugzilla.redhat.com/show_bug.cgi?id=2336274 Assisted-by: LLM Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
This commit is contained in:
1 parent
3fe8d804b1
commit
6cc62b05dd
1 file changed
+3
-1
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=alpine
|
||||
PKG_VERSION:=2.25
|
||||
PKG_RELEASE:=5
|
||||
PKG_RELEASE:=6
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://alpineapp.email/alpine/release/src/Old
|
||||
@@ -25,6 +25,8 @@ PKG_INSTALL:=1
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
TARGET_CFLAGS += -std=gnu17
|
||||
|
||||
define Package/alpine/Default
|
||||
SECTION:=mail
|
||||
CATEGORY:=Mail
|
||||
|
||||
Reference in new issue
Block a user