[138958] trunk/dports/lang/mozjs17

ionic at macports.org ionic at macports.org
Fri Jul 24 20:25:11 PDT 2015


Revision: 138958
          https://trac.macports.org/changeset/138958
Author:   ionic at macports.org
Date:     2015-07-24 20:25:11 -0700 (Fri, 24 Jul 2015)
Log Message:
-----------
mozjs17: fix configure failure with perl5.22. Fixes: #48431. Also for #48365.

defined(@array) has been deprecated in Perl 5.16 and is an error in Perl
5.22+.

Modified Paths:
--------------
    trunk/dports/lang/mozjs17/Portfile

Added Paths:
-----------
    trunk/dports/lang/mozjs17/files/patch-js-src-config-milestone.pl.diff

Modified: trunk/dports/lang/mozjs17/Portfile
===================================================================
--- trunk/dports/lang/mozjs17/Portfile	2015-07-25 00:31:52 UTC (rev 138957)
+++ trunk/dports/lang/mozjs17/Portfile	2015-07-25 03:25:11 UTC (rev 138958)
@@ -48,7 +48,8 @@
 
 patchfiles          patch-js-src-configure.diff \
                     patch-js-src-jsinterp.cpp.diff \
-                    patch-mfbt-double-conversion-utils.h.diff
+                    patch-mfbt-double-conversion-utils.h.diff \
+                    patch-js-src-config-milestone.pl.diff
 
 variant readline description {Link js shell to system readline library} {
     depends_lib-append port:readline

Added: trunk/dports/lang/mozjs17/files/patch-js-src-config-milestone.pl.diff
===================================================================
--- trunk/dports/lang/mozjs17/files/patch-js-src-config-milestone.pl.diff	                        (rev 0)
+++ trunk/dports/lang/mozjs17/files/patch-js-src-config-milestone.pl.diff	2015-07-25 03:25:11 UTC (rev 138958)
@@ -0,0 +1,11 @@
+--- js/src/config/milestone.pl.orig	2015-07-24 19:43:34.000000000 -0700
++++ js/src/config/milestone.pl		2015-07-24 19:43:43.000000000 -0700
+@@ -55,7 +55,7 @@
+ #
+ my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE);
+ 
+-if (defined(@TEMPLATE_FILE)) {
++if (@TEMPLATE_FILE) {
+   my $TFILE;
+ 
+   foreach $TFILE (@TEMPLATE_FILE) {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150724/4d882704/attachment.html>


More information about the macports-changes mailing list