You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/qpdf/files/qpdf-2.3.1-libpcre-8.30.patch

12 lines
338 B

--- qpdf-2.3.1/libqpdf/PCRE.cc.orig
+++ qpdf-2.3.1/libqpdf/PCRE.cc
@@ -144,7 +144,7 @@
this->code = pcre_compile(pattern, options, &errptr, &erroffset, 0);
if (this->code)
{
- this->nbackrefs = pcre_info(this->code, 0, 0);
+ pcre_fullinfo(this->code, 0, PCRE_INFO_CAPTURECOUNT, &(this->nbackrefs));
}
else
{