diff options
author | Pacho Ramos <pacho@gentoo.org> | 2017-04-08 11:57:13 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2017-04-08 12:28:02 +0200 |
commit | 8f477fede7c52d36ebea9917b216dc97dc1f27f5 (patch) | |
tree | 58ecc1f6bf08352f7cbeeeaf63f368abd72958c2 /app-accessibility/espeak/files | |
parent | app-admin/sysstat: Old. (diff) | |
download | gentoo-8f477fede7c52d36ebea9917b216dc97dc1f27f5.tar.gz gentoo-8f477fede7c52d36ebea9917b216dc97dc1f27f5.tar.bz2 gentoo-8f477fede7c52d36ebea9917b216dc97dc1f27f5.zip |
app-accessibility/espeak: Fix gcc6 support (#593936 by Peter Levine), port to eapi6.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'app-accessibility/espeak/files')
-rw-r--r-- | app-accessibility/espeak/files/espeak-1.48.04-gcc-6-fix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app-accessibility/espeak/files/espeak-1.48.04-gcc-6-fix.patch b/app-accessibility/espeak/files/espeak-1.48.04-gcc-6-fix.patch new file mode 100644 index 000000000000..f28de7338b37 --- /dev/null +++ b/app-accessibility/espeak/files/espeak-1.48.04-gcc-6-fix.patch @@ -0,0 +1,13 @@ +https://src.fedoraproject.org/cgit/rpms/espeak.git/tree/espeak-1.48-gcc-6-fix.patch +diff --git a/src/tr_languages.cpp b/src/tr_languages.cpp +--- a/tr_languages.cpp ++++ b/tr_languages.cpp +@@ -198,7 +198,7 @@ static const unsigned short chars_ignore_zwnj_hyphen[] = { + 0x200d, 1, // zero width joiner + 0, 0 }; + +-const char string_ordinal[] = {0xc2,0xba,0}; // masculine ordinal character, UTF-8 ++const char string_ordinal[] = {'\xc2','\xba',0}; // masculine ordinal character, UTF-8 + + + static Translator* NewTranslator(void) |