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:   jperkin
Date:           Thu Jul 10 10:23:55 UTC 2025

Modified Files:
        pkgsrc/graphics/netpbm: Makefile

Log Message:
netpbm: Disable -Werror=implicit-function-declaration.


To generate a diff of this commit:
cvs rdiff -u -r1.255 -r1.256 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.255 pkgsrc/graphics/netpbm/Makefile:1.256
--- pkgsrc/graphics/netpbm/Makefile:1.255       Thu May  1 16:50:44 2025
+++ pkgsrc/graphics/netpbm/Makefile     Thu Jul 10 10:23:55 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.255 2025/05/01 16:50:44 tnn Exp $
+# $NetBSD: Makefile,v 1.256 2025/07/10 10:23:55 jperkin Exp $
 
 DISTNAME=      netpbm-11.02.09
 PKGREVISION=   6
@@ -86,6 +86,11 @@ SUBST_SED.xopen+=    -e '/_XOPEN_SOURCE$$/s
 SUBST_SED.xopen+=      -e '/_POSIX_SOURCE.*fdopen/s/_POSIX_SOURCE/_XOPEN_SOURCE 600/'
 .endif
 
+# Fixing this properly would require patching far too many files.
+.if ${PKGSRC_COMPILER:Mgcc}
+CFLAGS+=       -Wno-error=implicit-function-declaration
+.endif
+
 INSTALLATION_DIRS=     ${PKGMANDIR}/man1 ${PKGMANDIR}/man3 ${PKGMANDIR}/man5 share/netpbm
 
 .include "options.mk"



Home | Main Index | Thread Index | Old Index