From 4c162497a7d8c4058b680a48b712d58d5eabe1c7 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 24 Jun 2015 12:13:36 +0200 Subject: [PATCH] mozjs17: fix for Perl 5.22. Closes #1895. --- srcpkgs/mozjs17/patches/perl522.patch | 11 +++++++++++ srcpkgs/mozjs17/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/mozjs17/patches/perl522.patch diff --git a/srcpkgs/mozjs17/patches/perl522.patch b/srcpkgs/mozjs17/patches/perl522.patch new file mode 100644 index 00000000000..b49e032bda3 --- /dev/null +++ b/srcpkgs/mozjs17/patches/perl522.patch @@ -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) { diff --git a/srcpkgs/mozjs17/template b/srcpkgs/mozjs17/template index 7b6d4a76ae7..f11a7f4337c 100644 --- a/srcpkgs/mozjs17/template +++ b/srcpkgs/mozjs17/template @@ -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