summarylogtreecommitdiffstats
path: root/generate_patches
diff options
context:
space:
mode:
authorIliya Ivanov2019-04-08 18:39:02 +0300
committerIliya Ivanov2019-04-08 18:39:02 +0300
commit78b3f84ac93dd42821d7e033ad16b03e14d95584 (patch)
treea93ef605316d0a3744ef1d97b3e5c014c3907d13 /generate_patches
parent222df2bee7f241b970690d3bd9984b3ee53656f6 (diff)
downloadaur-78b3f84ac93dd42821d7e033ad16b03e14d95584.tar.gz
Update to PHP 7.3.4 & allow multicore compilation
Diffstat (limited to 'generate_patches')
-rwxr-xr-xgenerate_patches6
1 files changed, 4 insertions, 2 deletions
diff --git a/generate_patches b/generate_patches
index 8567951594b..d3f04eb307a 100755
--- a/generate_patches
+++ b/generate_patches
@@ -4,9 +4,11 @@
makepkg -o --nodeps --noprepare --skipinteg
-pushd src/${pkgbase}-${pkgver}
+pushd src/${_pkgbase}-${pkgver}
-sed '/APACHE_THREADED_MPM=/d' -i.orig sapi/apache2handler/config.m4
+sed -e '/if test "$APACHE_VERSION" -lt 2004001; then/i PHP_BUILD_THREAD_SAFE' \
+ -e '/if test "$APACHE_VERSION" -lt 2004001; then/,+10d' \
+ -i.orig sapi/apache2handler/config.m4
sed 's/.conf.default/.conf/g' -i.orig sapi/fpm/Makefile.frag