mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
espeak: add gcc-6 support patch
Signed-off-by: Stephan Raue <stephan@openelec.tv> (cherry picked from commit 0b131d85d68b2e842530648b00a7983c97259ab7)
This commit is contained in:
parent
4f365ca641
commit
91bc83a17d
12
packages/audio/espeak/patches/espeak-1.48-gcc-6-fix.patch
Normal file
12
packages/audio/espeak/patches/espeak-1.48-gcc-6-fix.patch
Normal file
@ -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)
|
Loading…
x
Reference in New Issue
Block a user