pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/php-apcu4/patches carry over also apcu 4.0.7 patches



details:   https://anonhg.NetBSD.org/pkgsrc/rev/169118b5bde4
branches:  trunk
changeset: 351015:169118b5bde4
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Thu Aug 11 23:09:40 2016 +0000

description:
carry over also apcu 4.0.7 patches

diffstat:

 www/php-apcu4/patches/patch-.._package.xml |  15 +++++++++++++++
 www/php-apcu4/patches/patch-config.m4      |  26 ++++++++++++++++++++++++++
 2 files changed, 41 insertions(+), 0 deletions(-)

diffs (49 lines):

diff -r 446b07e1322b -r 169118b5bde4 www/php-apcu4/patches/patch-.._package.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-apcu4/patches/patch-.._package.xml        Thu Aug 11 23:09:40 2016 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-.._package.xml,v 1.1 2016/08/11 23:09:40 jdolecek Exp $
+
+Update md5 sum.
+
+--- ../package.xml.orig        2014-10-12 02:02:21.000000000 +0900
++++ ../package.xml     2015-02-01 16:50:25.000000000 +0900
+@@ -105,7 +105,7 @@
+    <file md5sum="2a8437130a0d8b546a4ad0a4c46f6e6b" name="pgsql_s_lock.h" role="src" />
+    <file md5sum="f779685bd4d96e1d925ea93b73131d9c" name="pgsql_s_lock.c" role="src" />
+    <file md5sum="54bfc8892372c1cf55cfa069aaf81eb2" name="apc_serializer.h" role="src" />
+-   <file md5sum="5be4ac2cf190c97d2933e008b57d1055" name="config.m4" role="src" />
++   <file md5sum="5a19fef359933bfc9b208a4598f3ce53" name="config.m4" role="src" />
+    <file md5sum="8c723e3d9a87c81326117fc32e56edff" name="config.w32" role="src" />
+    <file md5sum="d6c836c279b1fbabf69ada700dd5cdfc" name="INSTALL" role="doc" />
+    <file md5sum="de1caba45c42bd445f33d52eb1e82339" name="LICENSE" role="doc" />
diff -r 446b07e1322b -r 169118b5bde4 www/php-apcu4/patches/patch-config.m4
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-apcu4/patches/patch-config.m4     Thu Aug 11 23:09:40 2016 +0000
@@ -0,0 +1,26 @@
+$NetBSD: patch-config.m4,v 1.1 2016/08/11 23:09:40 jdolecek Exp $
+
+Fix bashism.
+
+--- config.m4.orig     2014-10-11 17:02:21.000000000 +0000
++++ config.m4
+@@ -140,7 +140,7 @@ if test "$PHP_APCU" != "no"; then
+     LIBS="$orig_LIBS"
+   fi
+   
+-  if test "$PHP_APCU_RWLOCKS" == "no"; then
++  if test "$PHP_APCU_RWLOCKS" = "no"; then
+     orig_LIBS="$LIBS"
+         LIBS="$LIBS -lpthread"
+         AC_TRY_RUN(
+@@ -193,8 +193,8 @@ if test "$PHP_APCU" != "no"; then
+         LIBS="$orig_LIBS"
+   fi
+   
+-  if test "$PHP_APCU_RWLOCKS" == "no"; then
+-   if test "$PHP_APCU_MUTEX" == "no"; then
++  if test "$PHP_APCU_RWLOCKS" = "no"; then
++   if test "$PHP_APCU_MUTEX" = "no"; then
+     if test "$PHP_APCU_SPINLOCK" != "no"; then
+       AC_DEFINE(APC_SPIN_LOCK, 1, [ ])
+       AC_MSG_WARN([APCu spin locking enabled])



Home | Main Index | Thread Index | Old Index