From 3628e45fed8f446c61d595c575293759c97e8cc3 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 23 Feb 2023 10:41:37 +0000 Subject: games-puzzle/nudoku: add patch to include locale.h Closes: https://bugs.gentoo.org/895990 Signed-off-by: Michael Vetter Closes: https://github.com/gentoo/gentoo/pull/29743 Signed-off-by: Andreas Sturmlechner --- .../nudoku/files/nudoku-2.1.0-include-locale.patch | 22 ++++++++++++++++++++++ games-puzzle/nudoku/nudoku-2.1.0.ebuild | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 games-puzzle/nudoku/files/nudoku-2.1.0-include-locale.patch (limited to 'games-puzzle/nudoku') diff --git a/games-puzzle/nudoku/files/nudoku-2.1.0-include-locale.patch b/games-puzzle/nudoku/files/nudoku-2.1.0-include-locale.patch new file mode 100644 index 000000000000..d4d1c89bd104 --- /dev/null +++ b/games-puzzle/nudoku/files/nudoku-2.1.0-include-locale.patch @@ -0,0 +1,22 @@ +From ffe61c8cb6dcf6032960fa75ac2b66b5f1906e37 Mon Sep 17 00:00:00 2001 +From: Michael Vetter +Date: Thu, 23 Feb 2023 10:58:43 +0100 +Subject: [PATCH] Include locale.h + +See https://bugs.gentoo.org/895990 +--- + src/main.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/main.c b/src/main.c +index 74d6a0e..77a0a03 100644 +--- a/src/main.c ++++ b/src/main.c +@@ -25,6 +25,7 @@ along with this program. If not, see . + #include /* ncurses */ + #include /* time */ + #include /* strcmp, strlen */ ++#include /* setlocale */ + #include "sudoku.h" /* sudoku functions */ + #ifdef ENABLE_CAIRO + #include "outp.h" /* output functions */ diff --git a/games-puzzle/nudoku/nudoku-2.1.0.ebuild b/games-puzzle/nudoku/nudoku-2.1.0.ebuild index 9bd564dfc76a..f4a69b9fc4c7 100644 --- a/games-puzzle/nudoku/nudoku-2.1.0.ebuild +++ b/games-puzzle/nudoku/nudoku-2.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,6 +25,7 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}/${PN}-2.1.0-ncurses-link.patch" + "${FILESDIR}/${PN}-2.1.0-include-locale.patch" ) src_prepare() { -- cgit v1.2.3-65-gdbad