diff options
author | Brahmajit Das <brahmajit.xyz@gmail.com> | 2023-07-03 07:42:59 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-07-06 10:57:34 -0400 |
commit | 5de4b509ccbae6e79f614707e6381cfd9017bdba (patch) | |
tree | 203ac841dda52f5625408be71b23f47b8f71cd05 /app-arch/lbzip2 | |
parent | gnome-extra/gnome-system-monitor: Version bump to 45_alpha (diff) | |
download | gentoo-5de4b509ccbae6e79f614707e6381cfd9017bdba.tar.gz gentoo-5de4b509ccbae6e79f614707e6381cfd9017bdba.tar.bz2 gentoo-5de4b509ccbae6e79f614707e6381cfd9017bdba.zip |
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@gmail.com>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-arch/lbzip2')
-rw-r--r-- | app-arch/lbzip2/files/lbzip2-2.5_p20181227-clang16-musl-info.patch | 21 | ||||
-rw-r--r-- | app-arch/lbzip2/lbzip2-2.5_p20181227-r2.ebuild | 1 |
2 files changed, 22 insertions, 0 deletions
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() { |