summaryrefslogtreecommitdiff
path: root/lang/php55/patches/patch-ext_opcache_config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php55/patches/patch-ext_opcache_config.m4')
-rw-r--r--lang/php55/patches/patch-ext_opcache_config.m415
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/php55/patches/patch-ext_opcache_config.m4 b/lang/php55/patches/patch-ext_opcache_config.m4
new file mode 100644
index 00000000000..e9fe6c92efa
--- /dev/null
+++ b/lang/php55/patches/patch-ext_opcache_config.m4
@@ -0,0 +1,15 @@
+$NetBSD: patch-ext_opcache_config.m4,v 1.1.2.2 2013/12/16 17:05:48 tron Exp $
+
+Avoid use "==" in test(1).
+
+--- ext/opcache/config.m4.orig 2013-10-15 13:49:47.000000000 +0000
++++ ext/opcache/config.m4
+@@ -359,7 +359,7 @@ AC_TRY_RUN([
+ AC_MSG_RESULT("yes")
+ ], AC_MSG_RESULT("no") )
+
+-if test "$flock_type" == "unknown"; then
++if test "$flock_type" = "unknown"; then
+ AC_MSG_ERROR([Don't know how to define struct flock on this system[,] set --enable-opcache=no])
+ fi
+