aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2015-04-21 01:10:31 +0800
committermat <mat@FreeBSD.org>2015-04-21 01:10:31 +0800
commita72e9fd6bdd91439c8c2d147cb0ce5672409bab0 (patch)
treebfa437d2a4797918d1d832562e677a2089ac82a9 /lang
parentb3021fb3b41f9db7281fec202f0c1d78cb98d2da (diff)
downloadfreebsd-ports-gnome-a72e9fd6bdd91439c8c2d147cb0ce5672409bab0.tar.gz
freebsd-ports-gnome-a72e9fd6bdd91439c8c2d147cb0ce5672409bab0.tar.zst
freebsd-ports-gnome-a72e9fd6bdd91439c8c2d147cb0ce5672409bab0.zip
Fix with Perl 5.21.1+
"defined(@array)" and "defined(%hash)" are now fatal errors These have been deprecated since v5.6.1 and have raised deprecation warnings since v5.16. With hat: perl@ Sponsored by: Absolight
Diffstat (limited to 'lang')
-rw-r--r--lang/spidermonkey170/files/patch-config_milestone.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/spidermonkey170/files/patch-config_milestone.pl b/lang/spidermonkey170/files/patch-config_milestone.pl
new file mode 100644
index 000000000000..b9b1741c0f4f
--- /dev/null
+++ b/lang/spidermonkey170/files/patch-config_milestone.pl
@@ -0,0 +1,11 @@
+--- config/milestone.pl.orig 2013-02-11 22:33:22 UTC
++++ config/milestone.pl
+@@ -55,7 +55,7 @@ $MILESTONE_FILE = "$TOPSRCDIR/config/mi
+ #
+ my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE);
+
+-if (defined(@TEMPLATE_FILE)) {
++if (@TEMPLATE_FILE) {
+ my $TFILE;
+
+ foreach $TFILE (@TEMPLATE_FILE) {