aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7/libressl.patch
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2017-03-16 23:03:41 +0200
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-03-20 14:31:48 +0000
commit8cb032ecba6f14cc1441b16d4577166183bf6d63 (patch)
treefe0bda10941b743aee92f59845b900ec4ee4c0ad /community/php7/libressl.patch
parentfc5696b8218c5344bab1eb13249352da0d8eca8b (diff)
downloadaports-8cb032ecba6f14cc1441b16d4577166183bf6d63.tar.bz2
aports-8cb032ecba6f14cc1441b16d4577166183bf6d63.tar.xz
community/php7: upgrade to 7.0.17
Bug fix release http://php.net/archive/2017.php#id2017-03-16-1 - removes getrandom patch - adds libressl patch to allow configure with libressl
Diffstat (limited to 'community/php7/libressl.patch')
-rw-r--r--community/php7/libressl.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/php7/libressl.patch b/community/php7/libressl.patch
new file mode 100644
index 0000000000..79c15c7433
--- /dev/null
+++ b/community/php7/libressl.patch
@@ -0,0 +1,13 @@
+--- a/aclocal.m4
++++ b/aclocal.m4
+@@ -2337,9 +2337,7 @@
+
+ dnl If pkg-config is found try using it
+ if test "$PHP_OPENSSL_DIR" = "yes" && test -x "$PKG_CONFIG" && $PKG_CONFIG --exists openssl; then
+- if $PKG_CONFIG --atleast-version=1.1 openssl; then
+- AC_MSG_ERROR([OpenSSL version >= 1.1 is not supported.])
+- elif $PKG_CONFIG --atleast-version=0.9.8 openssl; then
++ if $PKG_CONFIG --atleast-version=0.9.8 openssl; then
+ found_openssl=yes
+ OPENSSL_LIBS=`$PKG_CONFIG --libs openssl`
+ OPENSSL_INCS=`$PKG_CONFIG --cflags-only-I openssl`