diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-01-07 12:13:10 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-01-07 12:13:10 +0000 |
commit | d4d70691ab58dfcbd58e0863f3e64d59765533e3 (patch) | |
tree | af6490971bae5a9f1e298865b103f451f30f0e1b /app-arch/lbzip2/files | |
parent | ff3ac0b17b39e52a4fc9ca04d17a5535c8f6085c (diff) |
gentoo auto-resync : 07:01:2023 - 12:13:10
Diffstat (limited to 'app-arch/lbzip2/files')
-rw-r--r-- | app-arch/lbzip2/files/lbzip2-2.5_p20181227-clang16.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app-arch/lbzip2/files/lbzip2-2.5_p20181227-clang16.patch b/app-arch/lbzip2/files/lbzip2-2.5_p20181227-clang16.patch new file mode 100644 index 000000000000..7342b19cd027 --- /dev/null +++ b/app-arch/lbzip2/files/lbzip2-2.5_p20181227-clang16.patch @@ -0,0 +1,27 @@ +https://github.com/kjn/lbzip2/pull/33 + +From 32b5167940ec817e454431956040734af405a9de Mon Sep 17 00:00:00 2001 +From: Florian Weimer <fweimer@redhat.com> +Date: Thu, 5 Jan 2023 18:02:26 +0100 +Subject: [PATCH] Define the GNULIB_XALLOC_DIE macro + +This avoids an implicit function declaration when building gnulib's +xmalloc.c, addressing a build failure with future compiler version. + +Solution proposed by Bruno Haible here: + + Re: xmalloc calling undeclared xalloc_die function + <https://lists.gnu.org/archive/html/bug-gnulib/2022-12/msg00038.html> +--- a/configure.ac ++++ b/configure.ac +@@ -31,6 +31,9 @@ AC_PROG_LN_S + AC_PROG_RANLIB + AC_PROG_CC_C89 + ++AC_DEFINE(GNULIB_XALLOC_DIE, 1, ++ [This package is providing its own definition of the xalloc_die function.]) ++ + gl_ASSERT_NO_GNULIB_TESTS + gl_ASSERT_NO_GNULIB_POSIXCHECK + gl_EARLY + |