mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 23:48:39 +01:00
espeak: Fix build issues. Cleanup patches
Signed-off-by: Ted Hess <thess@kitschensync.net>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
--- a/src/tr_languages.cpp
|
||||
+++ b/src/tr_languages.cpp
|
||||
@@ -198,7 +198,7 @@ static const unsigned short chars_ignore
|
||||
0x200d, 1, // zero width joiner
|
||||
0, 0 };
|
||||
|
||||
-const char string_ordinal[] = {0xc2,0xba,0}; // masculine ordinal character, UTF-8
|
||||
+const unsigned char string_ordinal[] = {0xc2,0xba,0}; // masculine ordinal character, UTF-8
|
||||
|
||||
|
||||
static Translator* NewTranslator(void)
|
||||
@@ -758,7 +758,7 @@ Translator *SelectTranslator(const char
|
||||
tr->langopts.stress_flags = S_FINAL_SPANISH | S_FINAL_DIM_ONLY | S_FINAL_NO_2;
|
||||
tr->langopts.numbers = NUM_SINGLE_STRESS | NUM_DECIMAL_COMMA | NUM_AND_UNITS | NUM_OMIT_1_HUNDRED | NUM_OMIT_1_THOUSAND | NUM_ROMAN | NUM_ROMAN_ORDINAL;
|
||||
tr->langopts.numbers2 = NUM2_ORDINAL_NO_AND;
|
||||
- tr->langopts.roman_suffix = string_ordinal;
|
||||
+ tr->langopts.roman_suffix = (const char *)string_ordinal;
|
||||
}
|
||||
else
|
||||
if(name2 == L_pap)
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user