From f34e6fb2657b123c1bf8e8e683b34f8634eefbec Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 4 Aug 2025 15:29:35 -0700 Subject: [PATCH] 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 --- net/krb5/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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