pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/php71 php71: require a GCC version newer than the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3871e79f1e16
branches:  trunk
changeset: 362046:3871e79f1e16
user:      maya <maya%pkgsrc.org@localhost>
date:      Wed May 03 11:48:15 2017 +0000

description:
php71: require a GCC version newer than the one in PHP bug #74527
on i386, re-fixing the build on i386 in a simpler way.

diffstat:

 lang/php71/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 6511d6305d9f -r 3871e79f1e16 lang/php71/Makefile
--- a/lang/php71/Makefile       Wed May 03 11:45:25 2017 +0000
+++ b/lang/php71/Makefile       Wed May 03 11:48:15 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2017/04/14 15:43:26 taca Exp $
+# $NetBSD: Makefile,v 1.11 2017/05/03 11:48:15 maya Exp $
 
 #
 # We can't omit PKGNAME here to handle PKG_OPTIONS.
@@ -18,6 +18,12 @@
 
 PHP_VERSIONS_ACCEPTED=         71
 
+# 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