public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/seamonkey/, www-client/seamonkey/files/
Date: Mon, 17 Jun 2019 14:31:28 +0000 (UTC)	[thread overview]
Message-ID: <1560781878.4306d728998b0eaf3e863d887920813e6af91e1a.polynomial-c@gentoo> (raw)

commit:     4306d728998b0eaf3e863d887920813e6af91e1a
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 17 14:31:18 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Mon Jun 17 14:31:18 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4306d728

www-client/seamonkey: Fixed build with gcc9

Thanks-to: Helmut Jarausch <jarausch <AT> igpm.rwth-aachen.de>
Closes: https://bugs.gentoo.org/685092
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 www-client/seamonkey/files/seamonkey-gcc9.patch   | 22 ++++++++++++++++++++++
 www-client/seamonkey/seamonkey-2.49.9.1_p0.ebuild |  5 ++++-
 2 files changed, 26 insertions(+), 1 deletion(-)

diff --git a/www-client/seamonkey/files/seamonkey-gcc9.patch b/www-client/seamonkey/files/seamonkey-gcc9.patch
new file mode 100644
index 00000000000..87d14e6a16c
--- /dev/null
+++ b/www-client/seamonkey/files/seamonkey-gcc9.patch
@@ -0,0 +1,22 @@
+--- a/mozilla/js/xpconnect/src/XPCWrappedNative.cpp.ORIG	2018-07-09 21:54:43.000000000 +0200
++++ b/mozilla/js/xpconnect/src/XPCWrappedNative.cpp	2019-05-04 17:49:23.893560494 +0200
+@@ -2218,15 +2218,16 @@
+                 const char* fmt = (i == 0) ?
+                                     "(%s" : (i == count-1) ?
+                                         ", %s)" : ", %s";
++                
++                if (!name) {
++                    return nullptr;
++                }
+                 name = JS_sprintf_append(name, fmt,
+                                          array[i]->GetNameString());
+             }
+         }
+     }
+ 
+-    if (!name) {
+-        return nullptr;
+-    }
+     const char* fmt = "[xpconnect wrapped %s" FMT_ADDR FMT_STR(" (native")
+         FMT_ADDR FMT_STR(")") "]";
+     if (si) {

diff --git a/www-client/seamonkey/seamonkey-2.49.9.1_p0.ebuild b/www-client/seamonkey/seamonkey-2.49.9.1_p0.ebuild
index 05e55c8f784..4b7e0269c38 100644
--- a/www-client/seamonkey/seamonkey-2.49.9.1_p0.ebuild
+++ b/www-client/seamonkey/seamonkey-2.49.9.1_p0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -156,6 +156,9 @@ src_prepare() {
 	eapply "${WORKDIR}"/firefox
 	popd &>/dev/null || die
 
+	# gcc9 patch #685092
+	eapply "${FILESDIR}"/${PN}-gcc9.patch
+
 	if grep -q '^sdkdir.*$(MOZ_APP_NAME)-devel' mozilla/config/baseconfig.mk ; then
 		sed '/^sdkdir/s@-devel@@' \
 			-i mozilla/config/baseconfig.mk || die


             reply	other threads:[~2019-06-17 14:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-17 14:31 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-01-29  5:50 [gentoo-commits] repo/gentoo:master commit in: www-client/seamonkey/, www-client/seamonkey/files/ Sam James
2021-05-26  8:02 Lars Wendler
2021-01-22  9:29 Lars Wendler
2020-12-31 15:01 Lars Wendler
2020-11-30  9:46 Lars Wendler
2020-10-22 19:23 Lars Wendler
2020-08-12 12:08 Lars Wendler
2020-07-18 18:43 Lars Wendler
2018-01-02 10:10 Lars Wendler
2017-07-24 13:46 Lars Wendler
2017-05-11  8:10 Lars Wendler
2017-01-07  1:22 Lars Wendler
2016-09-01 21:03 Ian Stakenvicius
2015-09-28  5:37 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1560781878.4306d728998b0eaf3e863d887920813e6af91e1a.polynomial-c@gentoo \
    --to=polynomial-c@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox