From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5117B158074 for ; Sat, 05 Jul 2025 04:53:33 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 2B6B53420DE for ; Sat, 05 Jul 2025 04:53:33 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id D8E1B11055B; Sat, 05 Jul 2025 04:53:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id CDCB011055B for ; Sat, 05 Jul 2025 04:53:29 +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 728B6342095 for ; Sat, 05 Jul 2025 04:53:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CB6B92DD1 for ; Sat, 05 Jul 2025 04:53:27 +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: <1751690829.d1f53d5bae5657db01f6aac127f352e21ccf14eb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/audit/files/, sys-process/audit/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/audit/audit-4.0.2-r1.ebuild sys-process/audit/files/audit-4.0.1-musl-basename.patch X-VCS-Directories: sys-process/audit/ sys-process/audit/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: d1f53d5bae5657db01f6aac127f352e21ccf14eb X-VCS-Branch: master Date: Sat, 05 Jul 2025 04:53:27 +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: 8ddfd120-6d98-4542-bb04-a3d1671085ba X-Archives-Hash: d6c019912ae717f977598d92f7f20529 commit: d1f53d5bae5657db01f6aac127f352e21ccf14eb Author: Cristian Othón Martínez Vera cfuga mx> AuthorDate: Fri Jul 4 21:48:04 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jul 5 04:47:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1f53d5b sys-process/audit: fix musl build with POSIX basename(3) include Since musl 1.2.5, ```basename(3)``` is strict-POSIX compliant, and needs ```#include ```, instead of the GNU version included with `````` Signed-off-by: Cristian Othón Martínez Vera cfuga.mx> Part-of: https://github.com/gentoo/gentoo/pull/42873 Closes: https://github.com/gentoo/gentoo/pull/42873 Signed-off-by: Sam James gentoo.org> sys-process/audit/audit-4.0.2-r1.ebuild | 4 ++++ sys-process/audit/files/audit-4.0.1-musl-basename.patch | 14 ++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/sys-process/audit/audit-4.0.2-r1.ebuild b/sys-process/audit/audit-4.0.2-r1.ebuild index 874b82839ae6..e9627061502f 100644 --- a/sys-process/audit/audit-4.0.2-r1.ebuild +++ b/sys-process/audit/audit-4.0.2-r1.ebuild @@ -51,6 +51,10 @@ QA_CONFIG_IMPL_DECL_SKIP=( strndupa ) +PATCHES=( + "${FILESDIR}/${PN}-4.0.1-musl-basename.patch" +) + src_prepare() { # audisp-remote moved in multilib_src_install_all sed -i \ diff --git a/sys-process/audit/files/audit-4.0.1-musl-basename.patch b/sys-process/audit/files/audit-4.0.1-musl-basename.patch new file mode 100644 index 000000000000..08b74caf8ac2 --- /dev/null +++ b/sys-process/audit/files/audit-4.0.1-musl-basename.patch @@ -0,0 +1,14 @@ +Since musl 1.2.5, basename(3) is strict-POSIX compliant, and +needs #include , instead of the GNU version included +with + +--- a/audisp/plugins/zos-remote/zos-remote-config.c ++++ b/audisp/plugins/zos-remote/zos-remote-config.c +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + #include "zos-remote-log.h" + + /* Local prototypes */