From 4a6b944d7f41bda3c7ae8225472895eea4b26f3f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 14 Jun 2019 11:57:39 +0000 Subject: 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. --- community/php7-pecl-oauth/pcre.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 community/php7-pecl-oauth/pcre.patch (limited to 'community/php7-pecl-oauth/pcre.patch') 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) -- cgit v1.2.3