pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/mit-krb5



Module Name:    pkgsrc
Committed By:   tnn
Date:           Tue Apr 29 12:51:48 UTC 2025

Modified Files:
        pkgsrc/security/mit-krb5: Makefile

Log Message:
mit-krb5: not C23 ready, force gnu17 instead when using GCC 15


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 pkgsrc/security/mit-krb5/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/mit-krb5/Makefile
diff -u pkgsrc/security/mit-krb5/Makefile:1.121 pkgsrc/security/mit-krb5/Makefile:1.122
--- pkgsrc/security/mit-krb5/Makefile:1.121     Mon Dec  9 15:49:13 2024
+++ pkgsrc/security/mit-krb5/Makefile   Tue Apr 29 12:51:48 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.121 2024/12/09 15:49:13 jperkin Exp $
+# $NetBSD: Makefile,v 1.122 2025/04/29 12:51:48 tnn Exp $
 
 BRANCHNAME=    1.21
 DISTNAME=      krb5-${BRANCHNAME}.3
@@ -80,6 +80,13 @@ INSTALLATION_DIRS=   bin include/gssapi in
                        lib/krb5/plugins/tls include/krb5 include/kadm5 \
                        lib/pkgconfig
 
+.include "../../mk/compiler.mk"
+
+.if !empty(CC_VERSION:Mgcc-15)
+# mit-krb5 is not C23 compliant & needs too many patches to make it compile.
+CFLAGS+=               -std=gnu17 # reduced from gnu23
+.endif
+
 .include "options.mk"
 
 pre-configure:



Home | Main Index | Thread Index | Old Index