mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
- Fix build on 4.x. Dont use C99 syntax.
PR: 96384 Submitted by: Rong-En Fan <rafan AT infor dot org>
This commit is contained in:
parent
d9df187a6f
commit
c9acfa8022
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160552
32
chinese/libchewing/files/patch-src-hanyupinying.c
Normal file
32
chinese/libchewing/files/patch-src-hanyupinying.c
Normal file
@ -0,0 +1,32 @@
|
||||
--- src/hanyupinying.c.orig Thu Apr 27 06:42:41 2006
|
||||
+++ src/hanyupinying.c Thu Apr 27 06:43:31 2006
|
||||
@@ -26,7 +26,6 @@
|
||||
|
||||
static PinYingZuinMap* InitialsMap()
|
||||
{
|
||||
- HANYU_INITIALS = 26;
|
||||
static PinYingZuinMap map[ 26 ] = {
|
||||
{"b" , "1"}, {"p" , "q"}, {"m" , "a"}, {"f" ,"z"},
|
||||
{"d" , "2"}, {"t" , "w"}, {"n" , "s"}, {"l" ,"x"},
|
||||
@@ -36,12 +35,12 @@
|
||||
{"shi", "g"}, {"sh", "g"}, {"ri", "b"}, {"r" ,"b"},
|
||||
{"z" , "y"}, {"c" , "h"}, {"s" , "n"}
|
||||
};
|
||||
+ HANYU_INITIALS = 26;
|
||||
return map;
|
||||
}
|
||||
|
||||
static PinYingZuinMap* FinalsMap()
|
||||
{
|
||||
- HANYU_FINALS = 72;
|
||||
static PinYingZuinMap map[ 72 ] = {
|
||||
{"uang","j;"}, {"wang","j;"},
|
||||
{"wong","j/"}, {"weng","j/"},
|
||||
@@ -92,6 +91,7 @@
|
||||
{"u","j"},
|
||||
{"E",","}
|
||||
};
|
||||
+ HANYU_FINALS = 72;
|
||||
return map;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user