packages: apache/pcre8.30.patch (NEW)=?UTF-8?Q?=20?=- fix for compilation with pcre 8.30

wiget wiget at pld-linux.org
Thu Mar 29 09:15:26 CEST 2012


Author: wiget                        Date: Thu Mar 29 07:15:26 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix for compilation with pcre 8.30

---- Files affected:
packages/apache:
   pcre8.30.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/apache/pcre8.30.patch
diff -u /dev/null packages/apache/pcre8.30.patch:1.1
--- /dev/null	Thu Mar 29 09:15:26 2012
+++ packages/apache/pcre8.30.patch	Thu Mar 29 09:15:21 2012
@@ -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;
+ }
+ 
================================================================


More information about the pld-cvs-commit mailing list