[151521] trunk/dports/perl/p5-parse-yapp

devans at macports.org devans at macports.org
Tue Aug 16 23:59:21 PDT 2016


Revision: 151521
          https://trac.macports.org/changeset/151521
Author:   devans at macports.org
Date:     2016-08-16 23:59:21 -0700 (Tue, 16 Aug 2016)
Log Message:
-----------
p5-parse-yapp: fix deprecated regex syntax, increment revision, remove comment.

Modified Paths:
--------------
    trunk/dports/perl/p5-parse-yapp/Portfile

Added Paths:
-----------
    trunk/dports/perl/p5-parse-yapp/files/
    trunk/dports/perl/p5-parse-yapp/files/unescaped-left-brace-in-regex.patch

Modified: trunk/dports/perl/p5-parse-yapp/Portfile
===================================================================
--- trunk/dports/perl/p5-parse-yapp/Portfile	2016-08-17 06:56:50 UTC (rev 151520)
+++ trunk/dports/perl/p5-parse-yapp/Portfile	2016-08-17 06:59:21 UTC (rev 151521)
@@ -1,18 +1,12 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-# This comment was inserted on 20160713 to force reindexing of
-# this port after the default homepage definition in the perl5
-# PortGroup was changed to use metacpan.org (r150080).
-# Reindexing is necessary for the new definition to take effect.
-# This comment may be removed in subsequent updates of this port.
-
 PortSystem          1.0
 PortGroup           perl5 1.0
 
 perl5.branches      5.22 5.24
 perl5.setup         Parse-Yapp 1.05
-revision            3
+revision            4
 license             {Artistic-1 GPL}
 maintainers         nomaintainer
 description         Perl extension for generating and using LALR parsers.
@@ -21,4 +15,6 @@
 checksums           md5 7bfca736d6af36c51edf7a97111a8f3b
 platforms           darwin
 
+patchfiles          unescaped-left-brace-in-regex.patch
+
 supported_archs     noarch

Added: trunk/dports/perl/p5-parse-yapp/files/unescaped-left-brace-in-regex.patch
===================================================================
--- trunk/dports/perl/p5-parse-yapp/files/unescaped-left-brace-in-regex.patch	                        (rev 0)
+++ trunk/dports/perl/p5-parse-yapp/files/unescaped-left-brace-in-regex.patch	2016-08-17 06:59:21 UTC (rev 151521)
@@ -0,0 +1,20 @@
+--- YappParse.yp.orig	2016-08-16 23:47:24.000000000 -0700
++++ YappParse.yp	2016-08-16 23:48:41.000000000 -0700
+@@ -285,7 +285,7 @@
+         return($1, [ $1, $lineno[0] ]);
+     };
+ 
+-        $$input=~/\G{/gc
++        $$input=~/\G\{/gc
+     and do {
+         my($level,$from,$code);
+ 
+@@ -312,7 +312,7 @@
+         and return('START',[ undef, $lineno[0] ]);
+             $$input=~/\G%(expect)/gc
+         and return('EXPECT',[ undef, $lineno[0] ]);
+-            $$input=~/\G%{/gc
++            $$input=~/\G%\{/gc
+         and do {
+             my($code);
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160816/c435bf3f/attachment.html>


More information about the macports-changes mailing list