From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/lbzip2/files/, app-arch/lbzip2/
Date: Thu, 6 Jul 2023 15:00:07 +0000 (UTC) [thread overview]
Message-ID: <1688655454.5de4b509ccbae6e79f614707e6381cfd9017bdba.mattst88@gentoo> (raw)
commit: 5de4b509ccbae6e79f614707e6381cfd9017bdba
Author: Brahmajit Das <brahmajit.xyz <AT> gmail <DOT> com>
AuthorDate: Mon Jul 3 07:42:59 2023 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Jul 6 14:57:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de4b509
app-arch/lbzip2: Fix call to undeclared function info
Closes: https://bugs.gentoo.org/894320
Closes: https://github.com/gentoo/gentoo/pull/31724
Signed-off-by: Brahmajit Das <brahmajit.xyz <AT> gmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
.../lbzip2-2.5_p20181227-clang16-musl-info.patch | 21 +++++++++++++++++++++
app-arch/lbzip2/lbzip2-2.5_p20181227-r2.ebuild | 1 +
2 files changed, 22 insertions(+)
diff --git a/app-arch/lbzip2/files/lbzip2-2.5_p20181227-clang16-musl-info.patch b/app-arch/lbzip2/files/lbzip2-2.5_p20181227-clang16-musl-info.patch
new file mode 100644
index 000000000000..cab651805476
--- /dev/null
+++ b/app-arch/lbzip2/files/lbzip2-2.5_p20181227-clang16-musl-info.patch
@@ -0,0 +1,21 @@
+Bug: https://bugs.gentoo.org/894320
+--- a/src/common.h
++++ b/src/common.h
+@@ -35,6 +35,7 @@
+
+ /* Tracing, useful in debugging, but not officially supported. */
+ #ifdef ENABLE_TRACING
++#include "main.h" /* Needed for info */
+ #define Trace(x) info x
+ #else
+ #define Trace(x)
+--- a/src/main.h
++++ b/src/main.h
+@@ -20,6 +20,7 @@
+ along with lbzip2. If not, see <http://www.gnu.org/licenses/>.
+ */
+
++#pragma once
+ #include <limits.h> /* CHAR_BIT */
+
+ #if 8 != CHAR_BIT
diff --git a/app-arch/lbzip2/lbzip2-2.5_p20181227-r2.ebuild b/app-arch/lbzip2/lbzip2-2.5_p20181227-r2.ebuild
index 4272c9ad02b3..b92a6e2fff28 100644
--- a/app-arch/lbzip2/lbzip2-2.5_p20181227-r2.ebuild
+++ b/app-arch/lbzip2/lbzip2-2.5_p20181227-r2.ebuild
@@ -18,6 +18,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-2.3-s_isreg.patch
"${FILESDIR}"/${P}-fix-unaligned.patch
"${FILESDIR}"/${P}-clang16.patch
+ "${FILESDIR}"/${P}-clang16-musl-info.patch
)
src_prepare() {
next reply other threads:[~2023-07-06 15:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-06 15:00 Matt Turner [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-08-07 19:13 [gentoo-commits] repo/gentoo:master commit in: app-arch/lbzip2/files/, app-arch/lbzip2/ Matt Turner
2019-07-29 1:51 Matt Turner
2018-12-15 7:08 Robin H. Johnson
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=1688655454.5de4b509ccbae6e79f614707e6381cfd9017bdba.mattst88@gentoo \
--to=mattst88@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