pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/go14



Module Name:    pkgsrc
Committed By:   maya
Date:           Mon Feb 16 17:51:58 UTC 2026

Modified Files:
        pkgsrc/lang/go14: Makefile

Log Message:
go14: Force use of gnu99 C standard

This package attempts to typedef bool, but it's a keyword in C23.
The default compiler on Fedora 43 defaults to C23, so this fixes the build
there.

Maybe we shouldn't have -Werror, but it was easier to do this than figure
where -Werror is coming from.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 pkgsrc/lang/go14/Makefile

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

Modified files:

Index: pkgsrc/lang/go14/Makefile
diff -u pkgsrc/lang/go14/Makefile:1.29 pkgsrc/lang/go14/Makefile:1.30
--- pkgsrc/lang/go14/Makefile:1.29      Sat Jul 15 10:52:59 2023
+++ pkgsrc/lang/go14/Makefile   Mon Feb 16 17:51:58 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2023/07/15 10:52:59 bsiegert Exp $
+# $NetBSD: Makefile,v 1.30 2026/02/16 17:51:58 maya Exp $
 
 .include "../../lang/go/version.mk"
 
@@ -16,6 +16,7 @@ LICENSE=      modified-bsd
 
 WRKSRC=                ${WRKDIR}/go
 USE_TOOLS+=    bash:run perl:run pax touch awk
+FORCE_C_STD=   gnu99
 
 # uses ulimit -T
 TOOL_DEPENDS+= bash>=4.2nb3:../../shells/bash



Home | Main Index | Thread Index | Old Index