From: Rosen Penev Date: Mon, 4 Aug 2025 22:29:35 +0000 (-0700) Subject: krb5: build as C11 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f34e6fb2657b123c1bf8e8e683b34f8634eefbec;p=feed%2Fpackages.git krb5: build as C11 Fixes compilation with GCC 15. The upstream patch fixing compilation is way too huge to backport. Signed-off-by: Rosen Penev --- diff --git a/net/krb5/Makefile b/net/krb5/Makefile index 7938506500..f9718bb1df 100644 --- a/net/krb5/Makefile +++ b/net/krb5/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=krb5 PKG_VERSION:=1.21.3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=W. Michael Petullo @@ -107,6 +107,8 @@ define Build/InstallDev $(LN) ../../usr/bin/krb5-config $(2)/bin/krb5-config endef +TARGET_CFLAGS += -std=gnu11 + define Package/krb5-libs/install $(INSTALL_DIR) $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/lib/krb5