pkgsrc-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/pkgsrc/rev/417f8112f809
branches:  trunk
changeset: 362042:417f8112f809
user:      maya <maya%pkgsrc.org@localhost>
date:      Wed May 03 11:41:36 2017 +0000

description:
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.

diffstat:

 lang/php70/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 24048c630018 -r 417f8112f809 lang/php70/Makefile
--- a/lang/php70/Makefile       Wed May 03 11:41:20 2017 +0000
+++ b/lang/php70/Makefile       Wed May 03 11:41:36 2017 +0000
@@ -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_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