mozjs17: fix for Perl 5.22. Closes #1895.
This commit is contained in:
parent
ff126c26e7
commit
4c162497a7
11
srcpkgs/mozjs17/patches/perl522.patch
Normal file
11
srcpkgs/mozjs17/patches/perl522.patch
Normal 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) {
|
@ -1,7 +1,7 @@
|
|||||||
# Template file for 'mozjs17'
|
# Template file for 'mozjs17'
|
||||||
pkgname=mozjs17
|
pkgname=mozjs17
|
||||||
version=17.0.0
|
version=17.0.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…
x
Reference in New Issue
Block a user