pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/php70



Module Name:    pkgsrc
Committed By:   maya
Date:           Wed May  3 11:41:36 UTC 2017

Modified Files:
        pkgsrc/lang/php70: Makefile

Log Message:
php70: require a GCC version newer than the one in PHP bug #74527
on i386. It doesn't appear with any pkgsrc compiler I've tried
(GCC 6, 5, 4.9). Fixes i386 build.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/php70/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/php70/Makefile
diff -u pkgsrc/lang/php70/Makefile:1.7 pkgsrc/lang/php70/Makefile:1.8
--- pkgsrc/lang/php70/Makefile:1.7      Thu Apr 13 14:19:19 2017
+++ pkgsrc/lang/php70/Makefile  Wed May  3 11:41:36 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2017/04/13 14:19:19 taca Exp $
+# $NetBSD: Makefile,v 1.8 2017/05/03 11:41:36 maya Exp $
 
 #
 # We can't omit PKGNAME here to handle PKG_OPTIONS.
@@ -18,6 +18,11 @@ PHP_CHECK_INSTALLED= No
 
 PHP_VERSIONS_ACCEPTED=         70
 
+# PHP bug #74526 - segfaults on build with GCC 4.8.5 i386
+.if ${MACHINE_ARCH} == "i386"
+GCC_REQD+=             4.9
+.endif
+
 .include "Makefile.php"
 
 CGIDIR=                        ${PREFIX}/libexec/cgi-bin



Home | Main Index | Thread Index | Old Index