summaryrefslogtreecommitdiffstats
path: root/groff-1.18.1-fix15.patch
diff options
context:
space:
mode:
Diffstat (limited to 'groff-1.18.1-fix15.patch')
-rw-r--r--groff-1.18.1-fix15.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/groff-1.18.1-fix15.patch b/groff-1.18.1-fix15.patch
deleted file mode 100644
index 5a9fa64..0000000
--- a/groff-1.18.1-fix15.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- groff-1.18.1/src/libs/libgroff/encoding.cc.fix15 2004-03-08 16:13:15.825000416 +0100
-+++ groff-1.18.1/src/libs/libgroff/encoding.cc 2004-03-08 16:14:41.451983136 +0100
-@@ -384,21 +384,10 @@
- }
- /* otherwise */
- #if HAVE_LANGINFO_CODESET
-- charset = nl_langinfo(CODESET);
--#else
-- charset = strchr(locale, '.');
-- if (charset)
-- ++charset;
-- else
-- charset = "";
-+ locale = nl_langinfo(CODESET);
- #endif
-- if (strncmp(locale, "ja", 2) == 0) {
-- select_input_encoding_handler(charset);
-- select_output_encoding_handler(charset);
-- } else if ((!device || strcmp(device, "ascii8") == 0)) {
-- select_input_encoding_handler(NULL);
-- select_output_encoding_handler(NULL);
-- }
-+ select_input_encoding_handler(locale);
-+ select_output_encoding_handler(locale);
- #endif
- return;
- }