diff options
author | Jindrich Novy <jnovy@fedoraproject.org> | 2006-01-05 14:49:14 +0000 |
---|---|---|
committer | Jindrich Novy <jnovy@fedoraproject.org> | 2006-01-05 14:49:14 +0000 |
commit | 8556acb4fec81ab16fdc65b65c149acf0cfb9024 (patch) | |
tree | 07bd6e23c30ae34e9f85307ea0957d7f452b8eef /groff-1.18.1-fix15.patch | |
parent | 15f798d7856fb04cd82824b5b420c58c2be30d42 (diff) | |
download | groff-8556acb4fec81ab16fdc65b65c149acf0cfb9024.tar.gz groff-8556acb4fec81ab16fdc65b65c149acf0cfb9024.tar.xz groff-8556acb4fec81ab16fdc65b65c149acf0cfb9024.zip |
- add BuildRequires imake and update dependencies for modular X
- spec cleanup
Diffstat (limited to 'groff-1.18.1-fix15.patch')
-rw-r--r-- | groff-1.18.1-fix15.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/groff-1.18.1-fix15.patch b/groff-1.18.1-fix15.patch new file mode 100644 index 0000000..5a9fa64 --- /dev/null +++ b/groff-1.18.1-fix15.patch @@ -0,0 +1,27 @@ +--- 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; + } |