mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-26 21:11:54 +01:00
app-arch/lbzip2: Sync with Gentoo
It's from Gentoo commit 5de4b509ccbae6e79f614707e6381cfd9017bdba.
This commit is contained in:
parent
f64aa9900e
commit
67031a3b3e
@ -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
|
||||
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user