From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4844E138239 for ; Sat, 24 Nov 2018 12:59:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13A71E09B5; Sat, 24 Nov 2018 12:59:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E0FACE09B5 for ; Sat, 24 Nov 2018 12:59:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 40123335D01 for ; Sat, 24 Nov 2018 12:59:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6E09FA8 for ; Sat, 24 Nov 2018 12:59:04 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1543064323.e6e69875cadca6985633a18eaba92c052a5142b9.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/, sys-devel/gdb/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/gdb/files/gdb-8.2-sparc-fix-syntax.patch sys-devel/gdb/gdb-8.2-r1.ebuild X-VCS-Directories: sys-devel/gdb/files/ sys-devel/gdb/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: e6e69875cadca6985633a18eaba92c052a5142b9 X-VCS-Branch: master Date: Sat, 24 Nov 2018 12:59:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c8726c09-cef9-4474-bb40-d996cc2a4766 X-Archives-Hash: db3a85a4037b84a6bb0bfb307b7b8d9b commit: e6e69875cadca6985633a18eaba92c052a5142b9 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Nov 24 12:58:43 2018 +0000 Commit: Sergei Trofimovich gentoo 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 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