From 7bcfea9c5e79a425a62a66bba477b9d3c0d7fdd0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 7 May 2024 00:00:56 +0100 Subject: gentoo auto-resync : 07:05:2024 - 00:00:56 --- app-misc/gtypist/files/gtypist-2.9.5-c99.patch | 31 ++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 app-misc/gtypist/files/gtypist-2.9.5-c99.patch (limited to 'app-misc/gtypist/files') diff --git a/app-misc/gtypist/files/gtypist-2.9.5-c99.patch b/app-misc/gtypist/files/gtypist-2.9.5-c99.patch new file mode 100644 index 000000000000..e191c3dd7bb5 --- /dev/null +++ b/app-misc/gtypist/files/gtypist-2.9.5-c99.patch @@ -0,0 +1,31 @@ +--- a/src/cursmenu.c ++++ b/src/cursmenu.c +@@ -35,6 +35,8 @@ + #include + + #include "gettext.h" ++#include "utf8.h" ++ + #define _(String) gettext (String) + + extern int isUTF8Locale; +--- a/src/script.h ++++ b/src/script.h +@@ -90,6 +90,7 @@ extern void seek_label( FILE *script, char *label, char *ref_line ); + extern int hash_label( char *label ); + extern void do_exit( FILE *script ); + ++void check_script_file_with_current_encoding( FILE *script ); + + extern void bind_F12 (const char *); // Defined in gtypist.c + +--- a/src/utf8.c ++++ b/src/utf8.c +@@ -18,6 +18,7 @@ + */ + + #include "config.h" ++#include "error.h" + #include "utf8.h" + + #ifdef HAVE_PDCURSES -- cgit v1.2.3