mozjs24: fix for Perl 5.22.

This commit is contained in:
Christian Neukirchen 2015-06-24 12:14:04 +02:00
parent 4c162497a7
commit 105fbda651
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
@@ -56,7 +56,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 'mozjs24'
pkgname=mozjs24
version=24.2.0
revision=3
revision=4
wrksrc="mozjs-${version}"
build_wrksrc="js/src"
build_style=gnu-configure