summarylogtreecommitdiffstats
path: root/php.patch
diff options
context:
space:
mode:
authorIliya Ivanov2019-03-26 10:50:09 +0200
committerIliya Ivanov2019-03-26 10:50:09 +0200
commit222df2bee7f241b970690d3bd9984b3ee53656f6 (patch)
tree44b248bf45f3e910895afd2296696eb911be5473 /php.patch
parentd78c0c0ca4a82a90f862fe3338ab4a14178c88c2 (diff)
downloadaur-222df2bee7f241b970690d3bd9984b3ee53656f6.tar.gz
Bump PHP version and fixes
Diffstat (limited to 'php.patch')
-rw-r--r--php.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/php.patch b/php.patch
new file mode 100644
index 000000000000..28c1c7c117f9
--- /dev/null
+++ b/php.patch
@@ -0,0 +1,31 @@
+--- configure.orig
++++ configure
+@@ -7008,27 +7008,7 @@
+ ;;
+ esac
+
+- if test "$APACHE_VERSION" -lt 2004001; then
+- APXS_MPM=`$APXS -q MPM_NAME`
+- if test "$APXS_MPM" != "prefork" && test "$APXS_MPM" != "peruser" && test "$APXS_MPM" != "itk"; then
+-
+- enable_maintainer_zts=yes
+- if test "$pthreads_working" != "yes"; then
+- as_fn_error $? "ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads." "$LINENO" 5
+- fi
+-
+- fi
+- else
+- APACHE_THREADED_MPM=`$APXS_HTTPD -V | grep 'threaded:.*yes'`
+- if test -n "$APACHE_THREADED_MPM"; then
+-
+- enable_maintainer_zts=yes
+- if test "$pthreads_working" != "yes"; then
+- as_fn_error $? "ZTS currently requires working POSIX threads. We were unable to verify that your system supports Pthreads." "$LINENO" 5
+- fi
+-
+- fi
+- fi
++enable_maintainer_zts=yes
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
+ $as_echo "yes" >&6; }
+