1 |
radhermit 12/02/19 10:11:41 |
2 |
|
3 |
Added: qpdf-2.3.1-libpcre-8.30.patch |
4 |
Log: |
5 |
Fix build with libpcre-8.30 (bug #402371). |
6 |
|
7 |
(Portage version: 2.2.0_alpha87/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 app-text/qpdf/files/qpdf-2.3.1-libpcre-8.30.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/qpdf/files/qpdf-2.3.1-libpcre-8.30.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/qpdf/files/qpdf-2.3.1-libpcre-8.30.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: qpdf-2.3.1-libpcre-8.30.patch |
16 |
=================================================================== |
17 |
--- qpdf-2.3.1/libqpdf/PCRE.cc.orig |
18 |
+++ qpdf-2.3.1/libqpdf/PCRE.cc |
19 |
@@ -144,7 +144,7 @@ |
20 |
this->code = pcre_compile(pattern, options, &errptr, &erroffset, 0); |
21 |
if (this->code) |
22 |
{ |
23 |
- this->nbackrefs = pcre_info(this->code, 0, 0); |
24 |
+ pcre_fullinfo(this->code, 0, PCRE_INFO_CAPTURECOUNT, &(this->nbackrefs)); |
25 |
} |
26 |
else |
27 |
{ |