pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/php-apcu4/patches



Module Name:    pkgsrc
Committed By:   jdolecek
Date:           Thu Aug 11 23:09:40 UTC 2016

Added Files:
        pkgsrc/www/php-apcu4/patches: patch-.._package.xml patch-config.m4

Log Message:
carry over also apcu 4.0.7 patches


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/php-apcu4/patches/patch-.._package.xml \
    pkgsrc/www/php-apcu4/patches/patch-config.m4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/www/php-apcu4/patches/patch-.._package.xml
diff -u /dev/null pkgsrc/www/php-apcu4/patches/patch-.._package.xml:1.1
--- /dev/null   Thu Aug 11 23:09:40 2016
+++ pkgsrc/www/php-apcu4/patches/patch-.._package.xml   Thu Aug 11 23:09:40 2016
@@ -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" />
Index: pkgsrc/www/php-apcu4/patches/patch-config.m4
diff -u /dev/null pkgsrc/www/php-apcu4/patches/patch-config.m4:1.1
--- /dev/null   Thu Aug 11 23:09:40 2016
+++ pkgsrc/www/php-apcu4/patches/patch-config.m4        Thu Aug 11 23:09:40 2016
@@ -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