Applied this patch to ensure build smoothly on
some environment/compiler. PR: 41535 Submitted by: MAINTAINER
This commit is contained in:
parent
8faa2eac9c
commit
d6df081836
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64747
@ -58,8 +58,10 @@ pre-fetch:
|
|||||||
@${ECHO} --
|
@${ECHO} --
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
post-extract:
|
||||||
|
${MV} ${WRKDIR}/chewing ${WRKSRC}/src/Cinput
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@mv ${WRKDIR}/chewing ${WRKSRC}/src/Cinput
|
|
||||||
@cd ${WRKSRC}/src/Cinput/chewing; ${SH} ./patch_chewing
|
@cd ${WRKSRC}/src/Cinput/chewing; ${SH} ./patch_chewing
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
|
10
chinese/xcin25/files/patch-chewing::sort_word.c
Normal file
10
chinese/xcin25/files/patch-chewing::sort_word.c
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- src/Cinput/chewing/sort_word.c.orig Sun Aug 11 12:32:03 2002
|
||||||
|
+++ src/Cinput/chewing/sort_word.c Sun Aug 11 12:32:20 2002
|
||||||
|
@@ -40,6 +40,7 @@
|
||||||
|
Key2Pho(phoneBuf, keyBuf, KB_DEFAULT, 1) ;
|
||||||
|
word_data[nWord].num = PhoneBg2Uint(phoneBuf) ;
|
||||||
|
nWord++ ;
|
||||||
|
+ return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Output()
|
Loading…
Reference in New Issue
Block a user