aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7-pecl-oauth/pcre.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-06-14 11:57:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-06-14 12:00:37 +0000
commit4a6b944d7f41bda3c7ae8225472895eea4b26f3f (patch)
tree61f249c768aa2ddadcdbd1c4c51f071836db6d2b /community/php7-pecl-oauth/pcre.patch
parent03efe17c7cc87c36c387c49a4a7a9383f8c3a987 (diff)
downloadaports-4a6b944d7f41bda3c7ae8225472895eea4b26f3f.tar.bz2
aports-4a6b944d7f41bda3c7ae8225472895eea4b26f3f.tar.xz
community/php7-pecl-oauth: fix build
remove the configure test for pcre.h. php 7.3 uses pcre2.h and there is nothing in php oauth that uses pcre.h directly, it only relies on "ext/pcre/php_pcre.h" simply remove the check to fix build.
Diffstat (limited to 'community/php7-pecl-oauth/pcre.patch')
-rw-r--r--community/php7-pecl-oauth/pcre.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/php7-pecl-oauth/pcre.patch b/community/php7-pecl-oauth/pcre.patch
new file mode 100644
index 0000000000..7a47b989d3
--- /dev/null
+++ b/community/php7-pecl-oauth/pcre.patch
@@ -0,0 +1,13 @@
+diff --git a/config.m4 b/config.m4
+index e05ed68..48e2608 100644
+--- a/config.m4
++++ b/config.m4
+@@ -14,8 +14,6 @@ if test "$PHP_OAUTH" != "no"; then
+ PHP_NEW_EXTENSION(oauth, oauth.c provider.c, $ext_shared)
+ CFLAGS="$CFLAGS -Wall -g"
+
+- AC_CHECK_HEADER(pcre.h, , [AC_MSG_ERROR([Couldn't find pcre.h, try installing the libpcre development/headers package])])
+-
+ AS_IF([test "x$with_curl" != "xno"],
+ [
+ AC_MSG_CHECKING(for cURL in default path)