From 4784a3b08f4639790432f55d30d6c8451720a677 Mon Sep 17 00:00:00 2001 From: Artur Frysiak Date: Thu, 29 Mar 2012 07:15:21 +0000 Subject: [PATCH] - fix for compilation with pcre 8.30 Changed files: pcre8.30.patch -> 1.1 --- pcre8.30.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 pcre8.30.patch diff --git a/pcre8.30.patch b/pcre8.30.patch new file mode 100644 index 0000000..160e6b9 --- /dev/null +++ b/pcre8.30.patch @@ -0,0 +1,11 @@ +--- httpd-2.2.22/server/util_pcre.c.wiget 2012-03-29 08:50:30.426713350 +0200 ++++ httpd-2.2.22/server/util_pcre.c 2012-03-29 08:52:34.946711295 +0200 +@@ -137,7 +137,7 @@ preg->re_erroffset = erroffset; + + if (preg->re_pcre == NULL) return AP_REG_INVARG; + +-preg->re_nsub = pcre_info((const pcre *)preg->re_pcre, NULL, NULL); ++pcre_fullinfo((const pcre *)preg->re_pcre, NULL, PCRE_INFO_CAPTURECOUNT, &(preg->re_nsub)); + return 0; + } + -- 2.44.0