From 37707aeea7000a1e20d52db99ca6a70674ce89f3 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 6 Jul 2023 22:15:01 +0100 Subject: gentoo auto-resync : 06:07:2023 - 22:15:01 --- .../lbzip2-2.5_p20181227-clang16-musl-info.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app-arch/lbzip2/files/lbzip2-2.5_p20181227-clang16-musl-info.patch (limited to 'app-arch/lbzip2/files/lbzip2-2.5_p20181227-clang16-musl-info.patch') 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 . + */ + ++#pragma once + #include /* CHAR_BIT */ + + #if 8 != CHAR_BIT -- cgit v1.2.3