pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/netpbm



Module Name:    pkgsrc
Committed By:   js
Date:           Sun Apr 20 20:30:28 UTC 2025

Modified Files:
        pkgsrc/graphics/netpbm: Makefile

Log Message:
Fix compiling graphics/netpbm with GCC 15


To generate a diff of this commit:
cvs rdiff -u -r1.251 -r1.252 pkgsrc/graphics/netpbm/Makefile

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

Modified files:

Index: pkgsrc/graphics/netpbm/Makefile
diff -u pkgsrc/graphics/netpbm/Makefile:1.251 pkgsrc/graphics/netpbm/Makefile:1.252
--- pkgsrc/graphics/netpbm/Makefile:1.251       Thu Apr 17 21:51:08 2025
+++ pkgsrc/graphics/netpbm/Makefile     Sun Apr 20 20:30:27 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.251 2025/04/17 21:51:08 wiz Exp $
+# $NetBSD: Makefile,v 1.252 2025/04/20 20:30:27 js Exp $
 
 DISTNAME=      netpbm-11.02.09
 PKGREVISION=   5
@@ -24,6 +24,10 @@ LICENSE=     gnu-gpl-v2
 USE_TOOLS+=    gmake gdate flex pax perl
 USE_FEATURES=  snprintf
 
+# error: 'bool' cannot be defined via 'typedef'
+# note: 'bool' is a keyword with '-std=c23' onwards
+FORCE_C_STD=   gnu99
+
 INSTALL_TARGET=        install-dev install-run
 MAKE_ENV+=     INSTALL=${INSTALL:Q} STRIPFLAG=${_STRIPFLAG_INSTALL:Q} \
                pkgdir=${STAGEDIR} MACHINE=${MACHINE:Q}



Home | Main Index | Thread Index | Old Index