mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
games-puzzle/freesweep: fix build with gcc15
Closes: https://bugs.gentoo.org/944183 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/42950 Closes: https://github.com/gentoo/gentoo/pull/42950 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
ff080c7f56
commit
5656e4bbbf
14
games-puzzle/freesweep/files/freesweep-1.0.2-gcc15.patch
Normal file
14
games-puzzle/freesweep/files/freesweep-1.0.2-gcc15.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
https://bugs.gentoo.org/944183
|
||||
Since 1.0.2 the upstream code looks very different now
|
||||
|
||||
--- a/game.c
|
||||
+++ b/game.c
|
||||
@@ -414,7 +414,7 @@ int ParseArgs(GameStats* Game, int Argc, char** Argv)
|
||||
{
|
||||
StartCurses();
|
||||
InitCharSet(Game,Game->LineDraw);
|
||||
- PrintGPL(NULL);
|
||||
+ PrintGPL();
|
||||
clear();
|
||||
noutrefresh();
|
||||
doupdate();
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -17,6 +17,10 @@ RDEPEND="sys-libs/ncurses:="
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}"-gcc15.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
Reference in New Issue
Block a user