espeak:fixed build

This commit is contained in:
2017-03-10 15:24:15 +03:00
parent 77a2b85a61
commit ab338d4d6f
2 changed files with 13 additions and 1 deletions
@@ -0,0 +1,12 @@
diff --git a/src/tr_languages.cpp b/src/tr_languages.cpp
--- a/src/tr_languages.cpp
+++ b/src/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)
+1 -1
View File
@@ -24,7 +24,7 @@
</BuildDependencies>
<Patches>
<Patch>espeak-1.23-makefile_nostaticlibs.patch</Patch>
<!--<Patch level="1">espeak-1.45.05-runtime-detection.patch</Patch>-->
<Patch>espeak-1.48-gcc-6-fix.patch</Patch>
</Patches>
</Source>