diff options
Diffstat (limited to 'oauth-pcre.patch')
-rw-r--r-- | oauth-pcre.patch | 23 |
1 files changed, 23 insertions, 0 deletions
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 <apostnikov@gmail.com> +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) |