summaryrefslogtreecommitdiff
path: root/dev-lang/spidermonkey/files/spidermonkey-perl-defined-array-check.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-07 01:56:04 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-07 01:56:04 +0100
commit854735ef34c730eec54571f1d694a68c10e21c81 (patch)
treec2b0e2fef394452b1e1fb8a371dfbb948b2fca6c /dev-lang/spidermonkey/files/spidermonkey-perl-defined-array-check.patch
parent533feecd029facba89f4a4a6c754ccfd5baec747 (diff)
dev-lang/spidermonkey : import from gentoo, compile with clang-12
Diffstat (limited to 'dev-lang/spidermonkey/files/spidermonkey-perl-defined-array-check.patch')
-rw-r--r--dev-lang/spidermonkey/files/spidermonkey-perl-defined-array-check.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-lang/spidermonkey/files/spidermonkey-perl-defined-array-check.patch b/dev-lang/spidermonkey/files/spidermonkey-perl-defined-array-check.patch
new file mode 100644
index 00000000..c3996ae8
--- /dev/null
+++ b/dev-lang/spidermonkey/files/spidermonkey-perl-defined-array-check.patch
@@ -0,0 +1,11 @@
+--- a/js/src/config/milestone.pl 2013-02-11 17:33:22.000000000 -0500
++++ b/js/src/config/milestone.pl 2015-07-15 10:44:31.676153600 -0400
+@@ -55,7 +55,7 @@
+ #
+ my $milestone = Moz::Milestone::getOfficialMilestone($MILESTONE_FILE);
+
+-if (defined(@TEMPLATE_FILE)) {
++if (@TEMPLATE_FILE) {
+ my $TFILE;
+
+ foreach $TFILE (@TEMPLATE_FILE) {