diff options
author | Jory Pratt <anarchy@gentoo.org> | 2019-07-25 10:36:58 -0500 |
---|---|---|
committer | Jory Pratt <anarchy@gentoo.org> | 2019-07-25 10:37:12 -0500 |
commit | e93d86a969ee2957a2805450c008599521689cf6 (patch) | |
tree | 3d0e50c237e12c5d7513d1c83f8e5457895ded6b /dev-lang | |
parent | dev-lang/spidermonkey: add ia64 support to :60 (diff) | |
download | gentoo-e93d86a969ee2957a2805450c008599521689cf6.tar.gz gentoo-e93d86a969ee2957a2805450c008599521689cf6.tar.bz2 gentoo-e93d86a969ee2957a2805450c008599521689cf6.zip |
dev-lang/spidermonkey: Fix gcc-9 support in :52
Closes: https://bugs.gentoo.org/688448
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Jory Pratt <anarchy@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/spidermonkey/files/spidermonkey-52.0-gcc9-overflow.patch | 24 | ||||
-rw-r--r-- | dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild | 1 |
2 files changed, 25 insertions, 0 deletions
diff --git a/dev-lang/spidermonkey/files/spidermonkey-52.0-gcc9-overflow.patch b/dev-lang/spidermonkey/files/spidermonkey-52.0-gcc9-overflow.patch new file mode 100644 index 000000000000..c7eb0f62b280 --- /dev/null +++ b/dev-lang/spidermonkey/files/spidermonkey-52.0-gcc9-overflow.patch @@ -0,0 +1,24 @@ +From 311fc467219ab6ee9eed60759b58a8066c4bf36d Mon Sep 17 00:00:00 2001 +From: +Date: Thu, 25 Jul 2019 10:00:33 -0500 +Subject: [PATCH] gcc-9 overflow fix + +--- + js/src/jsapi-tests/testPrintf.cpp | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/js/src/jsapi-tests/testPrintf.cpp b/js/src/jsapi-tests/testPrintf.cpp +index 51486856..03cc118d 100644 +--- a/js/src/jsapi-tests/testPrintf.cpp ++++ b/js/src/jsapi-tests/testPrintf.cpp +@@ -55,7 +55,6 @@ BEGIN_TEST(testPrintf) + CHECK(print_one("27270", "%zu", (size_t) 27270)); + CHECK(print_one("27270", "%" PRIuSIZE, (size_t) 27270)); + CHECK(print_one("hello", "he%so", "ll")); +- CHECK(print_one("(null)", "%s", zero())); + CHECK(print_one("0", "%p", (char *) 0)); + CHECK(print_one("h", "%c", 'h')); + CHECK(print_one("1.500000", "%f", 1.5f)); +-- +2.22.0 + diff --git a/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild b/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild index b00a1c665fe2..cfa8e3966b98 100644 --- a/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild +++ b/dev-lang/spidermonkey/spidermonkey-52.9.1_pre1.ebuild @@ -49,6 +49,7 @@ src_prepare() { eapply "${WORKDIR}/${PN}" eapply "${FILESDIR}"/moz38-dont-hardcode-libc-soname.patch eapply "${FILESDIR}"/${PN}-52.0-fix-alpha-bitness.patch + eapply "${FILESDIR}"/${PN}-52.0-gcc9-overflow.patch eapply_user |