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 5A8F91581FD for ; Sat, 06 Sep 2025 15:31:38 +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 4424D33BF41 for ; Sat, 06 Sep 2025 15:31:38 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 20F59110379; Sat, 06 Sep 2025 15:31:37 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 14E47110379 for ; Sat, 06 Sep 2025 15:31:37 +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 BF4F833BF41 for ; Sat, 06 Sep 2025 15:31:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 276CC38BB for ; Sat, 06 Sep 2025 15:31:35 +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: <1757172438.0dc411b8d83023c7d16efd95e66a800f955a1cfd.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/stroke/files/, sys-apps/stroke/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/stroke/files/stroke-0.1.3-gcc15.patch sys-apps/stroke/stroke-0.1.3-r2.ebuild sys-apps/stroke/stroke-0.1.3-r3.ebuild X-VCS-Directories: sys-apps/stroke/files/ sys-apps/stroke/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 0dc411b8d83023c7d16efd95e66a800f955a1cfd X-VCS-Branch: master Date: Sat, 06 Sep 2025 15:31:35 +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: bd7d618a-4b43-45f2-93e7-bd25fd2f9a66 X-Archives-Hash: 09afa4149111fd7f29715b8cf9d44bcb commit: 0dc411b8d83023c7d16efd95e66a800f955a1cfd Author: Alexey Sokolov asokolov org> AuthorDate: Thu Aug 14 20:37:53 2025 +0000 Commit: Sam James gentoo org> CommitDate: Sat Sep 6 15:27:18 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dc411b8 sys-apps/stroke: fix build with gcc 15 Closes: https://bugs.gentoo.org/880509 Signed-off-by: Alexey Sokolov asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/43448 Closes: https://github.com/gentoo/gentoo/pull/43448 Signed-off-by: Sam James gentoo.org> sys-apps/stroke/files/stroke-0.1.3-gcc15.patch | 13 +++++++++++++ .../{stroke-0.1.3-r2.ebuild => stroke-0.1.3-r3.ebuild} | 7 +++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/sys-apps/stroke/files/stroke-0.1.3-gcc15.patch b/sys-apps/stroke/files/stroke-0.1.3-gcc15.patch new file mode 100644 index 000000000000..133060953cd7 --- /dev/null +++ b/sys-apps/stroke/files/stroke-0.1.3-gcc15.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/880509 + +--- a/src/aux.c ++++ b/src/aux.c +@@ -292,7 +292,7 @@ lutime_symlink(const char *filename, const struct utimbuf *times) + {times->modtime, 0} + }; + +- if(!(cwd = scwd(cwd)) || ++ if(!(cwd = scwd()) || + chdir(dirname(new_str(filename))) < 0) + goto error; + diff --git a/sys-apps/stroke/stroke-0.1.3-r2.ebuild b/sys-apps/stroke/stroke-0.1.3-r3.ebuild similarity index 76% rename from sys-apps/stroke/stroke-0.1.3-r2.ebuild rename to sys-apps/stroke/stroke-0.1.3-r3.ebuild index 836231099315..d41523b9fb26 100644 --- a/sys-apps/stroke/stroke-0.1.3-r2.ebuild +++ b/sys-apps/stroke/stroke-0.1.3-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -13,7 +13,10 @@ LICENSE="GPL-2+ GPL-3+" SLOT="0" KEYWORDS="~amd64 ~arm64 ~x86" -PATCHES=( "${FILESDIR}/${P}-missing-header.patch" ) +PATCHES=( + "${FILESDIR}/${P}-missing-header.patch" + "${FILESDIR}/${P}-gcc15.patch" +) src_compile() { emake AR="$(tc-getAR)"