summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickaël Thomas2016-04-12 23:48:06 +0200
committerMickaël Thomas2016-04-12 23:48:06 +0200
commit18030a42aae6bd7e81d2cab9e4324d16c179c27b (patch)
tree3d152a9eeadd9504d0e458588e5bd1f1e11f8b6c
parentee3382760b222671e2aad6dcceca89f8b99b5735 (diff)
downloadaur-18030a42aae6bd7e81d2cab9e4324d16c179c27b.tar.gz
Allow building with tidy-html5
-rw-r--r--PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0c8ff47157b..cbeff68ec46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -63,6 +63,9 @@ prepare() {
# Just because our Apache 2.4 is configured with a threaded MPM by default does not mean we want to build a ZTS PHP.
# Let's supress this behaviour and build a SAPI that works fine with the prefork MPM.
sed '/APACHE_THREADED_MPM=/d' -i sapi/apache2handler/config.m4 -i configure
+
+ # Allow php-tidy to compile with tidy-html5
+ sed 's/buffio\.h/tidybuffio\.h/' -i ext/tidy/tidy.c
}
build() {