File pcre-8.30.diff of Package qpdf

--- libqpdf/PCRE.cc
+++ 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
     {
openSUSE Build Service is sponsored by