Hello community,

here is the log from the commit of package qpdf for openSUSE:Factory checked in 
at 2012-02-27 18:36:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qpdf (Old)
 and      /work/SRC/openSUSE:Factory/.qpdf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qpdf", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/qpdf/qpdf.changes        2012-02-08 
15:42:11.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.qpdf.new/qpdf.changes   2012-02-27 
18:36:21.000000000 +0100
@@ -1,0 +2,5 @@
+Mon Feb 27 09:50:59 CET 2012 - [email protected]
+
+- fix build with pcre 8.30 
+
+-------------------------------------------------------------------

New:
----
  pcre-8.30.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ qpdf.spec ++++++
--- /var/tmp/diff_new_pack.cwf3ZQ/_old  2012-02-27 18:36:22.000000000 +0100
+++ /var/tmp/diff_new_pack.cwf3ZQ/_new  2012-02-27 18:36:22.000000000 +0100
@@ -15,8 +15,6 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:           qpdf
 Version:        2.3.1
 Release:        0
@@ -25,6 +23,7 @@
 Group:          Development/Libraries/C and C++
 Url:            http://qpdf.sourceforge.net/
 Source:         
http://sourceforge.net/projects/qpdf/files/qpdf/%{version}/qpdf-%{version}.tar.gz
+Patch0:         pcre-8.30.diff
 BuildRequires:  gcc-c++
 BuildRequires:  pcre-devel
 BuildRequires:  zlib-devel
@@ -57,6 +56,7 @@
 
 %prep
 %setup -q
+%patch0
 
 %build
 export CXXFLAGS="%optflags -fvisibility-inlines-hidden"

++++++ pcre-8.30.diff ++++++
--- 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
     {
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to