summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>1999-08-19 09:19:30 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>1999-08-19 09:19:30 +0000
commitc6cace87c28b68e3981186743ad173a70d9b6637 (patch)
tree7babe79ae9cd48c8f00481f3990fe1c834413bc7
parentMove ports/misc/toolbox to ports/x11-wm/toolbox with a repo (diff)
Correct ome alignment problem with patch-ab, this caused make failure.
Submitted by: ycheng@sinica.edu.tw, jtjang@gcn.net.tw
Notes
Notes: svn path=/head/; revision=20809
-rw-r--r--chinese/xcin/files/patch-ab4
-rw-r--r--chinese/xcin25/files/patch-ab4
2 files changed, 4 insertions, 4 deletions
diff --git a/chinese/xcin/files/patch-ab b/chinese/xcin/files/patch-ab
index b14cc06cd7cb..d4c3ca5a1e48 100644
--- a/chinese/xcin/files/patch-ab
+++ b/chinese/xcin/files/patch-ab
@@ -8,10 +8,10 @@
last_win = cli_win;
if ( ignore_cli_stat )
- ignore_cli_stat = 0;
+ ignore_cli_stat = 0;
else
if ( state->_CurInMethod )
-- memcpy( &inmdstate, state, sizeof( inmdstate ) );
+- memcpy( &inmdstate, state, sizeof( inmdstate ) );
+ if(memcmp(&inmdstate, state, sizeof( inmdstate)))
+ memcpy( &inmdstate, state, sizeof( inmdstate ) );
+ else
diff --git a/chinese/xcin25/files/patch-ab b/chinese/xcin25/files/patch-ab
index b14cc06cd7cb..d4c3ca5a1e48 100644
--- a/chinese/xcin25/files/patch-ab
+++ b/chinese/xcin25/files/patch-ab
@@ -8,10 +8,10 @@
last_win = cli_win;
if ( ignore_cli_stat )
- ignore_cli_stat = 0;
+ ignore_cli_stat = 0;
else
if ( state->_CurInMethod )
-- memcpy( &inmdstate, state, sizeof( inmdstate ) );
+- memcpy( &inmdstate, state, sizeof( inmdstate ) );
+ if(memcmp(&inmdstate, state, sizeof( inmdstate)))
+ memcpy( &inmdstate, state, sizeof( inmdstate ) );
+ else