summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/espeak/files/espeak-1.48-gcc-6-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/espeak/files/espeak-1.48-gcc-6-fix.patch')
-rw-r--r--meta-oe/recipes-support/espeak/files/espeak-1.48-gcc-6-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/espeak/files/espeak-1.48-gcc-6-fix.patch b/meta-oe/recipes-support/espeak/files/espeak-1.48-gcc-6-fix.patch
new file mode 100644
index 000000000..6e59c7892
--- /dev/null
+++ b/meta-oe/recipes-support/espeak/files/espeak-1.48-gcc-6-fix.patch
@@ -0,0 +1,12 @@
1diff --git a/src/tr_languages.cpp b/src/tr_languages.cpp
2--- a/src/tr_languages.cpp
3+++ b/src/tr_languages.cpp
4@@ -198,7 +198,7 @@ static const unsigned short chars_ignore_zwnj_hyphen[] = {
5 0x200d, 1, // zero width joiner
6 0, 0 };
7
8-const char string_ordinal[] = {0xc2,0xba,0}; // masculine ordinal character, UTF-8
9+const char string_ordinal[] = {'\xc2','\xba',0}; // masculine ordinal character, UTF-8
10
11
12 static Translator* NewTranslator(void)