[93002] trunk/dports/textproc/qpdf

ryandesign at macports.org ryandesign at macports.org
Sun May 13 16:46:28 PDT 2012


Revision: 93002
          https://trac.macports.org/changeset/93002
Author:   ryandesign at macports.org
Date:     2012-05-13 16:46:28 -0700 (Sun, 13 May 2012)
Log Message:
-----------
qpdf: update to 2.3.1 (#34387) and fix build with pcre 8.30 (#34384); maintainer timeout

Modified Paths:
--------------
    trunk/dports/textproc/qpdf/Portfile

Added Paths:
-----------
    trunk/dports/textproc/qpdf/files/patch-pcre-8.30.diff

Modified: trunk/dports/textproc/qpdf/Portfile
===================================================================
--- trunk/dports/textproc/qpdf/Portfile	2012-05-13 20:30:11 UTC (rev 93001)
+++ trunk/dports/textproc/qpdf/Portfile	2012-05-13 23:46:28 UTC (rev 93002)
@@ -4,8 +4,7 @@
 PortSystem          1.0
 
 name                qpdf
-version             2.3.0
-revision            1
+version             2.3.1
 categories          textproc pdf
 platforms           darwin
 maintainers         masterleep.com:dojo
@@ -18,10 +17,13 @@
 homepage            http://qpdf.sourceforge.net/
 master_sites        sourceforge:project/qpdf/qpdf/${version}
 
-checksums           rmd160  2be42fff3b849d75797c78b21faa1693411d6ef5 \
-                    sha256  36824387cebd324c908d97bac13a8169b04fea7593e7c9c7314c8fd6cf9045bb
+checksums           rmd160  e348f5507a917db007f3f86c6bada76f8cc58d48 \
+                    sha256  e1e687bbc0137e296c702daa5e2d804efce37c4edb48f2c27ae0dd0b43f99a40
 
 depends_lib         port:pcre
 
 # Prevent build errors when upgrading from an older version.
 patchfiles          patch-FLAGS.diff
+
+# Fix build with pcre 8.30.
+patchfiles-append   patch-pcre-8.30.diff

Added: trunk/dports/textproc/qpdf/files/patch-pcre-8.30.diff
===================================================================
--- trunk/dports/textproc/qpdf/files/patch-pcre-8.30.diff	                        (rev 0)
+++ trunk/dports/textproc/qpdf/files/patch-pcre-8.30.diff	2012-05-13 23:46:28 UTC (rev 93002)
@@ -0,0 +1,12 @@
+https://sourceforge.net/tracker/?func=detail&aid=3489349&group_id=224196&atid=1060899
+--- libqpdf/PCRE.cc.orig
++++ 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
+     {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120513/14e70bd1/attachment.html>


More information about the macports-changes mailing list