From 650646c147b0bfab5646d920d03ad9bdc4014601 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 20 Sep 2022 18:05:01 +0200 Subject: drop unneeded build dependency on pcre #2128353 --- oauth-pcre.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 oauth-pcre.patch (limited to 'oauth-pcre.patch') diff --git a/oauth-pcre.patch b/oauth-pcre.patch new file mode 100644 index 0000000..31635ca --- /dev/null +++ b/oauth-pcre.patch @@ -0,0 +1,23 @@ +From 2e02631fa424639b10d105ff47e9cf650403cef7 Mon Sep 17 00:00:00 2001 +From: Andy Postnikov +Date: Fri, 18 Sep 2020 16:22:33 +0300 +Subject: [PATCH] Remove pcre.h dependency + +PHP using pcre2 and I see no usage of pcre 1 +--- + config.m4 | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/config.m4 b/config.m4 +index f4a6899..2adf937 100644 +--- a/config.m4 ++++ b/config.m4 +@@ -10,8 +10,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