From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/, sys-devel/gdb/files/
Date: Tue, 16 May 2023 06:28:04 +0000 (UTC) [thread overview]
Message-ID: <1684218468.c9a9956944acab031669f00023398c45cef187e9.sam@gentoo> (raw)
commit: c9a9956944acab031669f00023398c45cef187e9
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 16 06:25:10 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 16 06:27:48 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9a99569
sys-devel/gdb: fix build w/ musl-1.2.4
Closes: https://bugs.gentoo.org/905922
Signed-off-by: Sam James <sam <AT> gentoo.org>
sys-devel/gdb/files/gdb-13.1-musl-lfs.patch | 23 +++++++++++++++++++++++
sys-devel/gdb/gdb-13.1.90_p20230429.ebuild | 1 +
2 files changed, 24 insertions(+)
diff --git a/sys-devel/gdb/files/gdb-13.1-musl-lfs.patch b/sys-devel/gdb/files/gdb-13.1-musl-lfs.patch
new file mode 100644
index 000000000000..d7778e305903
--- /dev/null
+++ b/sys-devel/gdb/files/gdb-13.1-musl-lfs.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/905922
+https://sourceware.org/bugzilla/show_bug.cgi?id=30450
+https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=2e977d9901393ea1bacbe1896af0929e968bc811
+
+From 2e977d9901393ea1bacbe1896af0929e968bc811 Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 22 Feb 2023 16:28:22 -0800
+Subject: [PATCH] gdbserver/linux-low.cc: Fix a typo in ternary operator
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+--- a/gdbserver/linux-low.cc
++++ b/gdbserver/linux-low.cc
+@@ -5390,7 +5390,7 @@ proc_xfer_memory (CORE_ADDR memaddr, unsigned char *readbuf,
+ if (lseek (fd, memaddr, SEEK_SET) != -1)
+ bytes = (readbuf != nullptr
+ ? read (fd, readbuf, len)
+- ? write (fd, writebuf, len));
++ : write (fd, writebuf, len));
+ #endif
+
+ if (bytes < 0)
+--
+2.31.1
diff --git a/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild b/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild
index d75794a2864b..e6030f478386 100644
--- a/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild
+++ b/sys-devel/gdb/gdb-13.1.90_p20230429.ebuild
@@ -111,6 +111,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-8.3.1-verbose-build.patch
"${FILESDIR}"/${PN}-13.1-Wenum-constexpr-conversion-clang16.patch
+ "${FILESDIR}"/${PN}-13.1-musl-lfs.patch
)
pkg_setup() {
next reply other threads:[~2023-05-16 6:28 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-16 6:28 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-07-15 10:33 [gentoo-commits] repo/gentoo:master commit in: sys-devel/gdb/, sys-devel/gdb/files/ Arsen Arsenović
2023-07-15 10:14 Arsen Arsenović
2023-07-06 17:15 Sam James
2023-06-17 1:50 Sam James
2023-01-11 3:25 Sam James
2022-04-17 18:21 Sam James
2021-02-26 8:04 Sergei Trofimovich
2020-05-19 21:30 Sergei Trofimovich
2019-05-11 22:11 Sergei Trofimovich
2019-03-13 22:20 Sergei Trofimovich
2018-11-24 12:59 Sergei Trofimovich
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=1684218468.c9a9956944acab031669f00023398c45cef187e9.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