diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /games-strategy/seven-kingdoms/files | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'games-strategy/seven-kingdoms/files')
-rw-r--r-- | games-strategy/seven-kingdoms/files/seven-kingdoms-2.15.2-fortify.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/games-strategy/seven-kingdoms/files/seven-kingdoms-2.15.2-fortify.patch b/games-strategy/seven-kingdoms/files/seven-kingdoms-2.15.2-fortify.patch deleted file mode 100644 index 9377287a6089..000000000000 --- a/games-strategy/seven-kingdoms/files/seven-kingdoms-2.15.2-fortify.patch +++ /dev/null @@ -1,26 +0,0 @@ -commit 5f765d8f0ef76c227277c3f9e3162f9deac654db -Author: Jesse Allen <the3dfxdude@gmail.com> -Date: Wed Jun 26 18:11:30 2019 -0700 - - LocaleRes: Don't use database field to enable transliteration. - -diff --git a/src/LocaleRes.cpp b/src/LocaleRes.cpp -index 5b4300a..88d975f 100644 ---- a/src/LocaleRes.cpp -+++ b/src/LocaleRes.cpp -@@ -107,10 +107,13 @@ void LocaleRes::init(const char *locale) - strcpy(lang, "??"); - strcpy(codeset, "ISO-8859-1"); - } -- strcat(codeset, "//TRANSLIT"); - -- cd = iconv_open(codeset, ""); -+ String tocode(codeset); -+ tocode += "//TRANSLIT"; -+ cd = iconv_open(tocode, ""); -+ - cd_latin = iconv_open("ISO-8859-1", ""); -+ - in_buf = mem_add(INIT_BUF_SIZE+1); - in_buf_size = INIT_BUF_SIZE; - out_buf = mem_add(INIT_BUF_SIZE+1); |