From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EC48415800F for ; Sat, 7 Jan 2023 07:38:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3452BE07DB; Sat, 7 Jan 2023 07:38:52 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15B2FE07E6 for ; Sat, 7 Jan 2023 07:38:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 463F7340EE4 for ; Sat, 7 Jan 2023 07:38:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 954D1803 for ; Sat, 7 Jan 2023 07:38:49 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1673076995.8f03cd6c9fcc5b5e911cb3379fe0a17052c0a0d8.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/lbzip2/, app-arch/lbzip2/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/lbzip2/files/lbzip2-2.5_p20181227-clang16.patch app-arch/lbzip2/lbzip2-2.5_p20181227-r1.ebuild app-arch/lbzip2/lbzip2-2.5_p20181227-r2.ebuild X-VCS-Directories: app-arch/lbzip2/files/ app-arch/lbzip2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8f03cd6c9fcc5b5e911cb3379fe0a17052c0a0d8 X-VCS-Branch: master Date: Sat, 7 Jan 2023 07:38:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 097bd4cf-60ad-4c3e-8127-b3c4ed87a1f4 X-Archives-Hash: c6ba5b3fe11b69ed8261b4bfb7ff7617 commit: 8f03cd6c9fcc5b5e911cb3379fe0a17052c0a0d8 Author: Sam James gentoo org> AuthorDate: Sat Jan 7 07:36:35 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jan 7 07:36:35 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f03cd6c app-arch/lbzip2: fix compile w/ clang 16 Signed-off-by: Sam James gentoo.org> .../files/lbzip2-2.5_p20181227-clang16.patch | 27 ++++++++++++++++++++++ ...27-r1.ebuild => lbzip2-2.5_p20181227-r2.ebuild} | 5 ++-- 2 files changed, 30 insertions(+), 2 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 +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 + +--- 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 + diff --git a/app-arch/lbzip2/lbzip2-2.5_p20181227-r1.ebuild b/app-arch/lbzip2/lbzip2-2.5_p20181227-r2.ebuild similarity index 89% rename from app-arch/lbzip2/lbzip2-2.5_p20181227-r1.ebuild rename to app-arch/lbzip2/lbzip2-2.5_p20181227-r2.ebuild index 1584b8dd8b07..4272c9ad02b3 100644 --- a/app-arch/lbzip2/lbzip2-2.5_p20181227-r1.ebuild +++ b/app-arch/lbzip2/lbzip2-2.5_p20181227-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI="7" +EAPI=8 inherit autotools flag-o-matic @@ -17,6 +17,7 @@ IUSE="debug static" PATCHES=( "${FILESDIR}"/${PN}-2.3-s_isreg.patch "${FILESDIR}"/${P}-fix-unaligned.patch + "${FILESDIR}"/${P}-clang16.patch ) src_prepare() {