From: "Sergei Trofimovich" <slyfox@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/, sys-devel/gdb/files/
Date: Sat, 24 Nov 2018 12:59:04 +0000 (UTC) [thread overview]
Message-ID: <1543064323.e6e69875cadca6985633a18eaba92c052a5142b9.slyfox@gentoo> (raw)
commit: e6e69875cadca6985633a18eaba92c052a5142b9
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 24 12:58:43 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Nov 24 12:58:43 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6e69875
sys-devel/gdb: fix sparc build, bug #671726
Reported-by: Rolf Eike Beer
Bug: https://bugs.gentoo.org/671726
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
sys-devel/gdb/files/gdb-8.2-sparc-fix-syntax.patch | 10 ++++++++++
sys-devel/gdb/gdb-8.2-r1.ebuild | 6 +++++-
2 files changed, 15 insertions(+), 1 deletion(-)
diff --git a/sys-devel/gdb/files/gdb-8.2-sparc-fix-syntax.patch b/sys-devel/gdb/files/gdb-8.2-sparc-fix-syntax.patch
new file mode 100644
index 00000000000..5ed32c04fd7
--- /dev/null
+++ b/sys-devel/gdb/files/gdb-8.2-sparc-fix-syntax.patch
@@ -0,0 +1,10 @@
+Fix invalid c++: https://bugs.gentoo.org/671726
+--- a/gdb/sparc-linux-nat.c
++++ b/gdb/sparc-linux-nat.c
+@@ -36,5 +36,5 @@ public:
+ { sparc_fetch_inferior_registers (regcache, regnum); }
+
+- void store_registers (struct regcache *regcache, int regnum) override;
++ void store_registers (struct regcache *regcache, int regnum) override
+ { sparc_store_inferior_registers (regcache, regnum); }
+ };
diff --git a/sys-devel/gdb/gdb-8.2-r1.ebuild b/sys-devel/gdb/gdb-8.2-r1.ebuild
index d7f7e1ef262..25456330772 100644
--- a/sys-devel/gdb/gdb-8.2-r1.ebuild
+++ b/sys-devel/gdb/gdb-8.2-r1.ebuild
@@ -90,6 +90,11 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${PN}-${MY_PV}
+PATCHES=(
+ "${FILESDIR}"/${P}-tinfow.patch
+ "${FILESDIR}"/${P}-sparc-fix-syntax.patch
+)
+
pkg_setup() {
use python && python-single-r1_pkg_setup
}
@@ -101,7 +106,6 @@ src_prepare() {
EPATCH_EXCLUDE+=" 01_all_ia64-TRAP_HWBKPT.patch"
EPATCH_EXCLUDE+=" 02_all_solaris-no-uuidsys.patch"
! use vanilla && [[ -n ${PATCH_VER} ]] && EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
- eapply "${FILESDIR}"/${P}-tinfow.patch
default
next reply other threads:[~2018-11-24 12:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-24 12:59 Sergei Trofimovich [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-03-13 22:20 [gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/, sys-devel/gdb/files/ Sergei Trofimovich
2019-05-11 22:11 Sergei Trofimovich
2020-05-19 21:30 Sergei Trofimovich
2021-02-26 8:04 Sergei Trofimovich
2022-04-17 18:21 Sam James
2023-01-11 3:25 Sam James
2023-05-16 6:28 Sam James
2023-06-17 1:50 Sam James
2023-07-06 17:15 Sam James
2023-07-15 10:14 Arsen Arsenović
2023-07-15 10:33 Arsen Arsenović
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=1543064323.e6e69875cadca6985633a18eaba92c052a5142b9.slyfox@gentoo \
--to=slyfox@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