pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/archivers/php-zlib
Module Name: pkgsrc
Committed By: gutteridge
Date: Sat Dec 27 19:03:26 UTC 2025
Modified Files:
pkgsrc/archivers/php-zlib: Makefile
Log Message:
php-zlib: fix builds on NetBSD with GCC >= 14
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/archivers/php-zlib/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/archivers/php-zlib/Makefile
diff -u pkgsrc/archivers/php-zlib/Makefile:1.24 pkgsrc/archivers/php-zlib/Makefile:1.25
--- pkgsrc/archivers/php-zlib/Makefile:1.24 Sat Feb 8 03:03:12 2025
+++ pkgsrc/archivers/php-zlib/Makefile Sat Dec 27 19:03:26 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2025/02/08 03:03:12 taca Exp $
+# $NetBSD: Makefile,v 1.25 2025/12/27 19:03:26 gutteridge Exp $
MODNAME= zlib
CATEGORIES+= archivers
@@ -9,6 +9,13 @@ CONFLICTS= php-zlib-[0-9]*
CONFIGURE_ARGS+= --with-${MODNAME}-dir=${BUILDLINK_DIR}
+.include "../../mk/compiler.mk"
+
+# Needed for PHP 5.6 with GCC >= 14 on NetBSD.
+.if ${PKGSRC_COMPILER:Mgcc}
+CFLAGS+= -Wno-error=incompatible-pointer-types
+.endif
+
post-extract:
cd ${WRKSRC}; ${RM} -f config.m4; ${LN} -sf config0.m4 config.m4
Home |
Main Index |
Thread Index |
Old Index