pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2016Q4]: pkgsrc/lang Pullup ticket #5203 - requested by maya



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc14c2b07f4c
branches:  pkgsrc-2016Q4
changeset: 408735:fc14c2b07f4c
user:      spz <spz%pkgsrc.org@localhost>
date:      Sun Feb 12 21:38:25 2017 +0000

description:
Pullup ticket #5203 - requested by maya
lang/php70: build fix
lang/php71: build fix

Revisions pulled up:
- lang/php70/Makefile                                           1.5
- lang/php71/Makefile                                           1.6

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   maya
   Date:           Sun Jan 22 11:37:29 UTC 2017

   Modified Files:
           pkgsrc/lang/php70: Makefile

   Log Message:
   php70: add workaround requested in PR pkg/51787, pcre-jit segfaults on
   non-amd64 (i386, SPARC - at least). disable it until PHP, add note that
   it's mostly relevant for PCRE1 8.38, so if PHP updates to PCRE2 as they
   plan, it will be irrelevant.

   >From Joern Clausen / cmb@php


   To generate a diff of this commit:
   cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/php70/Makefile

-------------------------------------------------------------------
   Module Name:    pkgsrc
   Committed By:   maya
   Date:           Sun Jan 22 11:42:22 UTC 2017

   Modified Files:
           pkgsrc/lang/php71: Makefile

   Log Message:
   php71: add workaround requested in PR pkg/51787, pcre-jit segfaults on
   non-amd64 (i386, SPARC - at least). disable it until PHP, add note that
   it's mostly relevant for PCRE1 8.38, so if PHP updates to PCRE2 as they
   plan, it will be irrelevant.

   >From Joern Clausen / cmb@php


   To generate a diff of this commit:
   cvs rdiff -u -r1.5 -r1.6 pkgsrc/lang/php71/Makefile

diffstat:

 lang/php70/Makefile |  9 ++++++++-
 lang/php71/Makefile |  9 ++++++++-
 2 files changed, 16 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r 61e59ff962d6 -r fc14c2b07f4c lang/php70/Makefile
--- a/lang/php70/Makefile       Sun Feb 12 15:28:33 2017 +0000
+++ b/lang/php70/Makefile       Sun Feb 12 21:38:25 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2016/06/24 15:27:57 taca Exp $
+# $NetBSD: Makefile,v 1.4.6.1 2017/02/12 21:38:25 spz Exp $
 
 #
 # We can't omit PKGNAME here to handle PKG_OPTIONS.
@@ -41,6 +41,13 @@
 
 INSTALLATION_DIRS+=    ${CGIDIR} ${PHP_EXTENSION_DIR} ${EGDIR} share/php
 
+# segfault generating phar.phar for i386 & SPARC
+# revisit this if builtin PCRE is updated beyond PCRE1 8.38
+# https://bugs.php.net/bug.php?id=73880
+.if ${MACHINE_ARCH} != "x86_64"
+CONFIGURE_ARGS+=       --without-pcre-jit
+.endif
+
 # Make sure modules can link correctly
 .if ${OPSYS} == "Darwin"
 INSTALL_UNSTRIPPED=    yes
diff -r 61e59ff962d6 -r fc14c2b07f4c lang/php71/Makefile
--- a/lang/php71/Makefile       Sun Feb 12 15:28:33 2017 +0000
+++ b/lang/php71/Makefile       Sun Feb 12 21:38:25 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2016/12/10 07:10:53 taca Exp $
+# $NetBSD: Makefile,v 1.5.2.1 2017/02/12 21:38:25 spz Exp $
 
 #
 # We can't omit PKGNAME here to handle PKG_OPTIONS.
@@ -41,6 +41,13 @@
 
 INSTALLATION_DIRS+=    ${CGIDIR} ${PHP_EXTENSION_DIR} ${EGDIR} share/php
 
+# segfault generating phar.phar for i386 & SPARC
+# revisit this if builtin PCRE is updated beyond PCRE1 8.38
+# https://bugs.php.net/bug.php?id=73880
+#.if ${MACHINE_ARCH} != "x86_64"
+CONFIGURE_ARGS+=       --without-pcre-jit
+#.endif
+
 # Make sure modules can link correctly
 .if ${OPSYS} == "Darwin"
 INSTALL_UNSTRIPPED=    yes



Home | Main Index | Thread Index | Old Index