summaryrefslogtreecommitdiff
path: root/games-puzzle/nudoku/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-23 21:45:48 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-23 21:45:48 +0000
commit0530006d7f63d6c158b4ff5ea0c3f7ef3bae9cc4 (patch)
treeb3f2e1932614978a64f3fff0cf39d188bcb8a4d3 /games-puzzle/nudoku/files
parent9217a0cce81e89f5648599fcda4e549903c7b9bd (diff)
gentoo auto-resync : 23:02:2023 - 21:45:48
Diffstat (limited to 'games-puzzle/nudoku/files')
-rw-r--r--games-puzzle/nudoku/files/nudoku-2.1.0-include-locale.patch22
1 files changed, 22 insertions, 0 deletions
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 <jubalh@iodoru.org>
+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 <http://www.gnu.org/licenses/>.
+ #include <ncurses.h> /* ncurses */
+ #include <time.h> /* time */
+ #include <string.h> /* strcmp, strlen */
++#include <locale.h> /* setlocale */
+ #include "sudoku.h" /* sudoku functions */
+ #ifdef ENABLE_CAIRO
+ #include "outp.h" /* output functions */