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 5F36A1582EF for ; Wed, 05 Mar 2025 02:49:13 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 3CF1A343056 for ; Wed, 05 Mar 2025 02:49:13 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3F4D61102D0; Wed, 05 Mar 2025 02:49:12 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 335DA1102D0 for ; Wed, 05 Mar 2025 02:49:12 +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 DA8FE343007 for ; Wed, 05 Mar 2025 02:49:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E07FB285D for ; Wed, 05 Mar 2025 02:49:09 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1741142944.86bb4af29fee8a1c83ca9f30f885e0e0b4147329.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/tini/, sys-process/tini/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/tini/files/tini-0.19.0-musl-basename.patch sys-process/tini/tini-0.19.0-r1.ebuild X-VCS-Directories: sys-process/tini/files/ sys-process/tini/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 86bb4af29fee8a1c83ca9f30f885e0e0b4147329 X-VCS-Branch: master Date: Wed, 05 Mar 2025 02:49:09 +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: 6c35839c-f022-4c4b-93dd-4f7c80f01848 X-Archives-Hash: 91e6d54214c6c294205b33bd0d0c992e commit: 86bb4af29fee8a1c83ca9f30f885e0e0b4147329 Author: Zac Medico gentoo org> AuthorDate: Wed Mar 5 02:44:16 2025 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed Mar 5 02:49:04 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86bb4af2 sys-process/tini: Patch basename for musl Closes: https://bugs.gentoo.org/934990 Signed-off-by: Zac Medico gentoo.org> sys-process/tini/files/tini-0.19.0-musl-basename.patch | 13 +++++++++++++ sys-process/tini/tini-0.19.0-r1.ebuild | 4 +++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/sys-process/tini/files/tini-0.19.0-musl-basename.patch b/sys-process/tini/files/tini-0.19.0-musl-basename.patch new file mode 100644 index 000000000000..69808d773de9 --- /dev/null +++ b/sys-process/tini/files/tini-0.19.0-musl-basename.patch @@ -0,0 +1,13 @@ +diff --git a/src/tini.c b/src/tini.c +index eb62015..0e7d5da 100644 +--- a/src/tini.c ++++ b/src/tini.c +@@ -18,6 +18,8 @@ + #include "tiniConfig.h" + #include "tiniLicense.h" + ++#define basename(name) (strrchr((name),'/') ? strrchr((name),'/')+1 : (name)) ++ + #if TINI_MINIMAL + #define PRINT_FATAL(...) fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\n"); + #define PRINT_WARNING(...) if (verbosity > 0) { fprintf(stderr, __VA_ARGS__); fprintf(stderr, "\n"); } diff --git a/sys-process/tini/tini-0.19.0-r1.ebuild b/sys-process/tini/tini-0.19.0-r1.ebuild index 0f911be28766..f55bbf7f30f0 100644 --- a/sys-process/tini/tini-0.19.0-r1.ebuild +++ b/sys-process/tini/tini-0.19.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -19,6 +19,8 @@ SLOT="0" KEYWORDS="amd64 arm arm64 hppa ppc64 ~riscv ~x86" IUSE="+args +static" +PATCHES=("${FILESDIR}/tini-0.19.0-musl-basename.patch") + src_prepare() { [[ -z ${GIT_COMMIT} ]] && die "forgetful maintainer! please define GIT_COMMIT_${PV//./} on bump"