public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/stroke/files/, sys-apps/stroke/
@ 2025-09-06 15:31 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2025-09-06 15:31 UTC (permalink / raw
  To: gentoo-commits

commit:     0dc411b8d83023c7d16efd95e66a800f955a1cfd
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Thu Aug 14 20:37:53 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> 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 <alexey+gentoo <AT> asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/43448
Closes: https://github.com/gentoo/gentoo/pull/43448
Signed-off-by: Sam James <sam <AT> 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)"


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2025-09-06 15:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-06 15:31 [gentoo-commits] repo/gentoo:master commit in: sys-apps/stroke/files/, sys-apps/stroke/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox