mozjs24: fix for Perl 5.22.
This commit is contained in:
parent
4c162497a7
commit
105fbda651
2 changed files with 12 additions and 1 deletions
srcpkgs/mozjs24
11
srcpkgs/mozjs24/patches/perl522.patch
Normal file
11
srcpkgs/mozjs24/patches/perl522.patch
Normal 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) {
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'mozjs24'
|
# Template file for 'mozjs24'
|
||||||
pkgname=mozjs24
|
pkgname=mozjs24
|
||||||
version=24.2.0
|
version=24.2.0
|
||||||
revision=3
|
revision=4
|
||||||
wrksrc="mozjs-${version}"
|
wrksrc="mozjs-${version}"
|
||||||
build_wrksrc="js/src"
|
build_wrksrc="js/src"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
|
Loading…
Reference in a new issue