espeak:fixed build
This commit is contained in:
@@ -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)
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user