pkgsrc-Changes archive

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

CVS commit: pkgsrc/games/xpipeman



Module Name:    pkgsrc
Committed By:   mrg
Date:           Sun Nov 16 06:34:47 UTC 2025

Modified Files:
        pkgsrc/games/xpipeman: Makefile

Log Message:
build with -std=gnu89 if using GCC 14 or 15.

fixes PR#59763.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/games/xpipeman/Makefile

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

Modified files:

Index: pkgsrc/games/xpipeman/Makefile
diff -u pkgsrc/games/xpipeman/Makefile:1.25 pkgsrc/games/xpipeman/Makefile:1.26
--- pkgsrc/games/xpipeman/Makefile:1.25 Mon Aug 22 17:36:13 2022
+++ pkgsrc/games/xpipeman/Makefile      Sun Nov 16 06:34:47 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2022/08/22 17:36:13 tnn Exp $
+# $NetBSD: Makefile,v 1.26 2025/11/16 06:34:47 mrg Exp $
 #
 
 DISTNAME=      xpipeman-1.5
@@ -16,6 +16,11 @@ USE_IMAKE=   yes
 
 CPPFLAGS.SunOS+=       -DSYSV
 
+.include "../../mk/compiler.mk"
+.if !empty(CC_VERSION:Mgcc-14.*) || !empty(CC_VERSION:Mgcc-15.*)
+CPPFLAGS+=     -std=gnu89
+.endif
+
 SETGIDGAME=            yes
 CONF_FILES_PERMS=      share/xpipeman/xpipescores /var/games/xpipescores \
                        ${GAMES_USER} ${GAMES_GROUP} ${GAMEDATAMODE}



Home | Main Index | Thread Index | Old Index