[123884] trunk/dports/perl/p5-pdl

mf2k at macports.org mf2k at macports.org
Fri Aug 15 11:59:04 PDT 2014


Revision: 123884
          https://trac.macports.org/changeset/123884
Author:   mf2k at macports.org
Date:     2014-08-15 11:59:03 -0700 (Fri, 15 Aug 2014)
Log Message:
-----------
p5-pdl: Add maintainer. Fix build for p5.18 and p5.20. (#44439)

Modified Paths:
--------------
    trunk/dports/perl/p5-pdl/Portfile
    trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl

Modified: trunk/dports/perl/p5-pdl/Portfile
===================================================================
--- trunk/dports/perl/p5-pdl/Portfile	2014-08-15 18:29:27 UTC (rev 123883)
+++ trunk/dports/perl/p5-pdl/Portfile	2014-08-15 18:59:03 UTC (rev 123884)
@@ -8,7 +8,7 @@
 perl5.branches      5.8 5.10 5.12 5.14 5.16 5.18 5.20
 perl5.setup         PDL 2.007
 revision            4
-maintainers         nomaintainer
+maintainers         peculier.com:mgrimes
 license             Artistic GPL-2
 description         Perl Data Language - scientific computing capability for perl
 long_description    The perlDL project aims to turn perl into an efficient numerical \

Modified: trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl
===================================================================
--- trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl	2014-08-15 18:29:27 UTC (rev 123883)
+++ trunk/dports/perl/p5-pdl/files/fix-pdldocdb.pl	2014-08-15 18:59:03 UTC (rev 123884)
@@ -38,8 +38,9 @@
         while ( read IN, $plen, 2 ) {
             my ($len) = unpack "S", $plen;
             read IN, $txt, $len;
-            my ( $sym, %hash ) = split chr(0), $txt;
-            $this->{SYMS}->{$sym} = {%hash};
+            my ($sym, @a) = split chr(0), $txt;
+            push @a, '' if @a % 2; # Ensure an even number of elements
+            $this->{SYMS}->{$sym} = {@a};
         }
         close IN;
         push @{ $this->{Scanned} }, $fi;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140815/28cab605/attachment-0001.html>


More information about the macports-changes mailing list