pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/php74
Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Jul  9 10:25:08 UTC 2025
Modified Files:
        pkgsrc/lang/php74: Makefile
Log Message:
php74: GCC 14 build fix.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/lang/php74/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/php74/Makefile
diff -u pkgsrc/lang/php74/Makefile:1.32 pkgsrc/lang/php74/Makefile:1.33
--- pkgsrc/lang/php74/Makefile:1.32     Sat Jun 14 13:57:10 2025
+++ pkgsrc/lang/php74/Makefile  Wed Jul  9 10:25:08 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2025/06/14 13:57:10 taca Exp $
+# $NetBSD: Makefile,v 1.33 2025/07/09 10:25:08 jperkin Exp $
 
 #
 # We can't omit PKGNAME here to handle PKG_OPTIONS.
@@ -59,6 +59,12 @@ INSTALL_UNSTRIPPED=  yes
 CFLAGS+=       -DSQLITE_ENABLE_LOCKING_STYLE=0 -DSQLITE_WITHOUT_ZONEMALLOC
 .endif
 
+.include "../../mk/compiler.mk"
+
+.if ${PKGSRC_COMPILER:Mgcc}
+CFLAGS+=       -Wno-error=incompatible-pointer-types   # libxml2 API
+.endif
+
 pre-configure:
        cd ${WRKSRC} && ${PKGSRC_SETENV} ${CONFIGURE_ENV} autoconf -f
 
Home |
Main Index |
Thread Index |
Old Index