source: trunk/dports/textproc/qpdf/files/patch-pcre-8.30.diff @ 93002

Last change on this file since 93002 was 93002, checked in by ryandesign@…, 8 years ago

qpdf: update to 2.3.1 (#34387) and fix build with pcre 8.30 (#34384); maintainer timeout

File size: 402 bytes
RevLine 
[93002]1https://sourceforge.net/tracker/?func=detail&aid=3489349&group_id=224196&atid=1060899
2--- libqpdf/PCRE.cc.orig
3+++ libqpdf/PCRE.cc
4@@ -144,7 +144,7 @@
5     this->code = pcre_compile(pattern, options, &errptr, &erroffset, 0);
6     if (this->code)
7     {
8-       this->nbackrefs = pcre_info(this->code, 0, 0);
9+       pcre_fullinfo(this->code, 0, PCRE_INFO_CAPTURECOUNT, &(this->nbackrefs));
10     }
11     else
12     {
Note: See TracBrowser for help on using the repository browser.