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 581E315800D for ; Thu, 6 Jul 2023 15:00:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91DC4E087E; Thu, 6 Jul 2023 15:00:10 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id 71B14E087E for ; Thu, 6 Jul 2023 15:00:10 +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 3D19333BF1A for ; Thu, 6 Jul 2023 15:00:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 72F60AC3 for ; Thu, 6 Jul 2023 15:00:07 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1688655454.5de4b509ccbae6e79f614707e6381cfd9017bdba.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/lbzip2/files/, app-arch/lbzip2/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/lbzip2/files/lbzip2-2.5_p20181227-clang16-musl-info.patch app-arch/lbzip2/lbzip2-2.5_p20181227-r2.ebuild X-VCS-Directories: app-arch/lbzip2/files/ app-arch/lbzip2/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 5de4b509ccbae6e79f614707e6381cfd9017bdba X-VCS-Branch: master Date: Thu, 6 Jul 2023 15:00:07 +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: 58d6131c-f3aa-4a31-b800-992a32263014 X-Archives-Hash: 1cd35a605d9dc1c89c2b22221298f5cc commit: 5de4b509ccbae6e79f614707e6381cfd9017bdba Author: Brahmajit Das gmail com> AuthorDate: Mon Jul 3 07:42:59 2023 +0000 Commit: Matt Turner gentoo org> CommitDate: Thu Jul 6 14:57:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5de4b509 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 gmail.com> Signed-off-by: Matt Turner gentoo.org> .../lbzip2-2.5_p20181227-clang16-musl-info.patch | 21 +++++++++++++++++++++ app-arch/lbzip2/lbzip2-2.5_p20181227-r2.ebuild | 1 + 2 files changed, 22 insertions(+) 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 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() {