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 70F7F138334 for ; Thu, 14 Mar 2019 22:49:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 89A20E0969; Thu, 14 Mar 2019 22:49:49 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 5F869E0969 for ; Thu, 14 Mar 2019 22:49:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 06875335D07 for ; Thu, 14 Mar 2019 22:49:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9FAE9452 for ; Thu, 14 Mar 2019 22:49:45 +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: <1552603777.890e99a6aef35c3e8c9a828bdf5ca9eafec6a1bb.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/files/, sys-devel/gdb/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/gdb/files/gdb-8.3.50.20190312-c++17.patch sys-devel/gdb/gdb-8.3.50.20190312-r1.ebuild X-VCS-Directories: sys-devel/gdb/ sys-devel/gdb/files/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 890e99a6aef35c3e8c9a828bdf5ca9eafec6a1bb X-VCS-Branch: master Date: Thu, 14 Mar 2019 22:49:45 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4549c3ae-d0f6-4acd-9570-185788db6bd9 X-Archives-Hash: 99f39dcb4cea0b894349cef0d4a6661e commit: 890e99a6aef35c3e8c9a828bdf5ca9eafec6a1bb Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Mar 14 22:49:20 2019 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Mar 14 22:49:37 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=890e99a6 sys-devel/gdb: fix build against -std=c++17 Patch is proposed upstream as: https://sourceware.org/ml/gdb-patches/2019-03/msg00306.html Reported-by: Helmut Jarausch Closes: https://bugs.gentoo.org/680232 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich gentoo.org> sys-devel/gdb/files/gdb-8.3.50.20190312-c++17.patch | 19 +++++++++++++++++++ sys-devel/gdb/gdb-8.3.50.20190312-r1.ebuild | 1 + 2 files changed, 20 insertions(+) diff --git a/sys-devel/gdb/files/gdb-8.3.50.20190312-c++17.patch b/sys-devel/gdb/files/gdb-8.3.50.20190312-c++17.patch new file mode 100644 index 00000000000..c134cbcae8d --- /dev/null +++ b/sys-devel/gdb/files/gdb-8.3.50.20190312-c++17.patch @@ -0,0 +1,19 @@ +https://bugs.gentoo.org/680232 + +--- a/gdb/unittests/string_view-selftests.c ++++ b/gdb/unittests/string_view-selftests.c +@@ -170,10 +170,12 @@ run_tests () + } /* namespace string_view */ + } /* namespace selftests */ + ++#endif /* __cplusplus < 201703L */ ++ + void + _initialize_string_view_selftests () + { ++#if defined(GDB_STRING_VIEW) + selftests::register_test ("string_view", selftests::string_view::run_tests); ++#endif + } +- +-#endif /* __cplusplus < 201703L */ diff --git a/sys-devel/gdb/gdb-8.3.50.20190312-r1.ebuild b/sys-devel/gdb/gdb-8.3.50.20190312-r1.ebuild index eda29eb876a..3b02bda0bd9 100644 --- a/sys-devel/gdb/gdb-8.3.50.20190312-r1.ebuild +++ b/sys-devel/gdb/gdb-8.3.50.20190312-r1.ebuild @@ -95,6 +95,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${P}-source-highlight.patch + "${FILESDIR}"/${P}-c++17.patch ) S=${WORKDIR}/${PN}-${MY_PV}