[130135] trunk/dports/perl/p5-cam-pdf

mojca at macports.org mojca at macports.org
Sat Dec 27 06:33:49 PST 2014


Revision: 130135
          https://trac.macports.org/changeset/130135
Author:   mojca at macports.org
Date:     2014-12-27 06:33:49 -0800 (Sat, 27 Dec 2014)
Log Message:
-----------
p5-cam-pdf: upgrade to 1.60

Modified Paths:
--------------
    trunk/dports/perl/p5-cam-pdf/Portfile
    trunk/dports/perl/p5-cam-pdf/files/patch-lib-CAM-PDF.pm

Modified: trunk/dports/perl/p5-cam-pdf/Portfile
===================================================================
--- trunk/dports/perl/p5-cam-pdf/Portfile	2014-12-27 14:32:47 UTC (rev 130134)
+++ trunk/dports/perl/p5-cam-pdf/Portfile	2014-12-27 14:33:49 UTC (rev 130135)
@@ -5,8 +5,7 @@
 PortGroup           perl5 1.0
 
 perl5.branches      5.16 5.18 5.20
-perl5.setup         CAM-PDF 1.52
-revision            5
+perl5.setup         CAM-PDF 1.60
 license             {Artistic-1 GPL}
 maintainers         nomaintainer
 description         Reads and writes any document that conforms to PDF v1.4
@@ -18,9 +17,8 @@
 platforms           darwin
 supported_archs     noarch
 
-checksums           md5     ab4914a3f07dd2d8cc23f2cdee8f7ce3 \
-                    sha1    d0ecb93f0c67d4986a5e06d4bb891c358a25ab8f \
-                    rmd160  8ec766c8ca3561b64573ddf228bdafdc3b0546ca
+checksums           rmd160  dbf72f375ce57845f012bcf24443b888266b83d8 \
+                    sha256  e76afc7f38a624924a77c5c988c36c9e388bfa7716e75cd397fef8e1b42ebb89
 
 if {${perl5.major} != ""} {
     patchfiles      patch-lib-CAM-PDF.pm

Modified: trunk/dports/perl/p5-cam-pdf/files/patch-lib-CAM-PDF.pm
===================================================================
--- trunk/dports/perl/p5-cam-pdf/files/patch-lib-CAM-PDF.pm	2014-12-27 14:32:47 UTC (rev 130134)
+++ trunk/dports/perl/p5-cam-pdf/files/patch-lib-CAM-PDF.pm	2014-12-27 14:33:49 UTC (rev 130135)
@@ -1,15 +1,15 @@
---- lib/CAM/PDF.pm	2008-10-02 21:31:43.000000000 -0700
-+++ lib/CAM/PDF.pm	2009-06-24 16:59:11.000000000 -0700
-@@ -1019,7 +1019,7 @@
+--- lib/CAM/PDF.pm.orig
++++ lib/CAM/PDF.pm
+@@ -1032,7 +1032,7 @@
  
-    if (${$c} !~ m/ \G(\d+)\s+(\d+)\s+obj\s* /cgxms) ##no critic(ProhibitUnusedCapture)
+    if (${$c} !~ m/ \G\s*(\d+)\s+(\d+)\s+obj\s* /cgxms) ##no critic(ProhibitUnusedCapture)
     {
 -      die "Expected object open tag\n" . $self->trimstr(${$c});
 +      die "Expected object open tag, got:  \"" . $self->trimstr(${$c} . "\"");
     }
     # need to implement like this with explicit capture vars for 5.6.1
     # compatibility
-@@ -1699,8 +1699,9 @@
+@@ -1714,8 +1714,9 @@
        #print "Filling cache for obj \#$key...\n";
  
        my $pos = $self->{xref}->{$key};
@@ -20,7 +20,7 @@
        {
           warn "Bad request for object $key at position 0 in the file\n";
           return;
-@@ -4834,9 +4835,20 @@
+@@ -4884,9 +4885,20 @@
  
     # Turn off Linearization, if set
     my $first;
@@ -42,7 +42,7 @@
     }
     else
     {
-@@ -4844,6 +4856,7 @@
+@@ -4894,6 +4906,7 @@
        ($first) = sort {$x->{$a} <=> $x->{$b}} grep {!ref $x->{$_}} keys %{$x};
     }
  
@@ -50,7 +50,7 @@
     my $objnode = $self->dereference($first);
     if ($objnode->{value}->{type} eq 'dictionary')
     {
-@@ -5159,6 +5172,12 @@
+@@ -5211,6 +5224,12 @@
  {
     my $self = shift;
     my $objnum = shift;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141227/225d62c5/attachment.html>


More information about the macports-changes mailing list