public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-debug/gdb/
Date: Sun,  3 Mar 2024 07:02:27 +0000 (UTC)	[thread overview]
Message-ID: <1709448833.f6f36fe9972ccbbb3562302cd4fb0e1512a2a340.sam@gentoo> (raw)

commit:     f6f36fe9972ccbbb3562302cd4fb0e1512a2a340
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 06:53:27 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 06:53:53 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6f36fe9

dev-debug/gdb: add 14.2

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-debug/gdb/Manifest                             | 1 +
 dev-debug/gdb/{gdb-9999.ebuild => gdb-14.2.ebuild} | 8 ++++++++
 dev-debug/gdb/gdb-9999.ebuild                      | 8 ++++++++
 3 files changed, 17 insertions(+)

diff --git a/dev-debug/gdb/Manifest b/dev-debug/gdb/Manifest
index 363506944c7d..bc28a63793c7 100644
--- a/dev-debug/gdb/Manifest
+++ b/dev-debug/gdb/Manifest
@@ -1,2 +1,3 @@
 DIST gdb-13.2.tar.xz 23664644 BLAKE2B bf5216ba2286448a46f9e0a405367c5a678e6d7540204722d355b618018b7b75a2ebc5b51353304c5ded02a3979223a81781d305f5afa5be82516cdc2863d49f SHA512 8185d3e11ab60dafff5860a5016577bfe7dd7547ef01ebc867bc247603d82b74ff74c4f29492c7d2aee57076f52be33e289f4c6b414a4b870d4b3004909f4c34
 DIST gdb-14.1.tar.xz 24108624 BLAKE2B 52a07b4745f95561f360a597d6ec1d212dafc8e9134dc415cd7bcfb02c26934a60807c8400b545a756c68392e16e104178cdc1464430c53611973881e921a942 SHA512 575e198105076fc4a88f68591aa114ab9c1196e84386a3f7b9b58fe5f30cdeed33f6a5f957b68f08c47284ec922bb60c964627e238471419673fd913575ce427
+DIST gdb-14.2.tar.xz 24111936 BLAKE2B 65765dfd1ed08e19bb881fc7ae98d6ee4914f38a9a2bb0d0ca73bef472669664f807fe9c04e8dffd7025be98e736ac52f88ff5851ceddbb01a361885b18befc8 SHA512 7e07941f1fe661288cc571b4964012ceabc1760624fce20320db2f470c01439b2386f859b5288da13204b758e2e3b22a74c68c012178db93b9529b06f1e22ede

diff --git a/dev-debug/gdb/gdb-9999.ebuild b/dev-debug/gdb/gdb-14.2.ebuild
similarity index 95%
copy from dev-debug/gdb/gdb-9999.ebuild
copy to dev-debug/gdb/gdb-14.2.ebuild
index 89469e978771..541bf7f8915a 100644
--- a/dev-debug/gdb/gdb-9999.ebuild
+++ b/dev-debug/gdb/gdb-14.2.ebuild
@@ -131,6 +131,14 @@ src_prepare() {
 	# Avoid using ancient termcap from host on Prefix systems
 	sed -i -e 's/termcap tinfow/tinfow/g' \
 		gdb/configure{.ac,} || die
+	if [[ ${CHOST} == *-solaris* ]] ; then
+		# code relies on C++11, so make sure we get that selected
+		# due to Python 3.11 pymacro.h doing stuff to work around
+		# versioning mess based on the C version, while we're compiling
+		# C++ here, so we need to make it clear we're doing C++11/C11
+		# because Solaris system headers act on these
+		sed -i -e 's/-x c++/-std=c++11/' gdb/Makefile.in || die
+	fi
 }
 
 gdb_branding() {

diff --git a/dev-debug/gdb/gdb-9999.ebuild b/dev-debug/gdb/gdb-9999.ebuild
index 89469e978771..541bf7f8915a 100644
--- a/dev-debug/gdb/gdb-9999.ebuild
+++ b/dev-debug/gdb/gdb-9999.ebuild
@@ -131,6 +131,14 @@ src_prepare() {
 	# Avoid using ancient termcap from host on Prefix systems
 	sed -i -e 's/termcap tinfow/tinfow/g' \
 		gdb/configure{.ac,} || die
+	if [[ ${CHOST} == *-solaris* ]] ; then
+		# code relies on C++11, so make sure we get that selected
+		# due to Python 3.11 pymacro.h doing stuff to work around
+		# versioning mess based on the C version, while we're compiling
+		# C++ here, so we need to make it clear we're doing C++11/C11
+		# because Solaris system headers act on these
+		sed -i -e 's/-x c++/-std=c++11/' gdb/Makefile.in || die
+	fi
 }
 
 gdb_branding() {


             reply	other threads:[~2024-03-03  7:02 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-03  7:02 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-08 11:57 [gentoo-commits] repo/gentoo:master commit in: dev-debug/gdb/ Sam James
2024-11-08 10:59 Sam James
2024-11-08  6:31 Sam James
2024-11-08  3:54 Sam James
2024-10-27 18:19 Andreas K. Hüttel
2024-10-18 17:32 Arthur Zamarin
2024-10-15 12:47 Arthur Zamarin
2024-10-14  0:50 Sam James
2024-10-14  0:50 Sam James
2024-10-14  0:16 Sam James
2024-10-14  0:16 Sam James
2024-10-13 23:50 Sam James
2024-10-03  9:35 Sam James
2024-09-29 21:05 Sam James
2024-09-29 21:05 Sam James
2024-07-21 13:04 Fabian Groffen
2024-07-17  5:56 Sam James
2024-07-17  5:56 Sam James
2024-07-17  5:56 Sam James
2024-07-17  5:17 Sam James
2024-07-17  5:16 Sam James
2024-07-17  4:59 Sam James
2024-07-17  4:56 Sam James
2024-07-08  3:32 Sam James
2024-06-02  0:14 Sam James
2024-05-11 15:19 Sam James
2024-04-25 23:10 Sam James
2024-04-25 23:10 Sam James
2024-04-25 22:18 Sam James
2024-04-25 22:18 Sam James
2024-04-25 22:18 Sam James
2024-04-25 22:18 Sam James
2024-04-25 22:18 Sam James
2024-03-04 10:24 Sam James
2024-02-25  9:38 Fabian Groffen
2024-02-20  7:45 Sam James
2024-02-20  7:45 Sam James
2024-02-20  7:45 Sam James
2024-02-20  7:22 Sam James
2024-02-20  7:22 Sam James
2024-02-20  5:56 Sam James
2024-02-20  5:56 Sam James
2024-02-20  5:56 Sam James

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=1709448833.f6f36fe9972ccbbb3562302cd4fb0e1512a2a340.sam@gentoo \
    --to=sam@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