mozjs17: fix for Perl 5.22. Closes #1895.

This commit is contained in:
Christian Neukirchen 2015-06-24 12:13:36 +02:00
parent ff126c26e7
commit 4c162497a7
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- js/src/config/milestone.pl.orig
+++ js/src/config/milestone.pl
@@ -55,7 +55,7 @@
#
my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE);
-if (defined(@TEMPLATE_FILE)) {
+if (@TEMPLATE_FILE) {
my $TFILE;
foreach $TFILE (@TEMPLATE_FILE) {

View file

@ -1,7 +1,7 @@
# Template file for 'mozjs17'
pkgname=mozjs17
version=17.0.0
revision=3
revision=4
wrksrc="mozjs${version}"
build_wrksrc="js/src"
build_style=gnu-configure