Skip to content

Commit

Permalink
espeak: add gcc-6 support patch
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Raue <[email protected]>
(cherry picked from commit 0b131d85d68b2e842530648b00a7983c97259ab7)
  • Loading branch information
sraue authored and MilhouseVH committed Nov 15, 2016
1 parent 4f365ca commit 91bc83a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions packages/audio/espeak/patches/espeak-1.48-gcc-6-fix.patch
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 91bc83a

Please sign in to comment.