aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorfoxfair <foxfair@FreeBSD.org>1999-08-19 17:19:30 +0800
committerfoxfair <foxfair@FreeBSD.org>1999-08-19 17:19:30 +0800
commitebb9bdd91406610e20fba3cc7e7b4925eddd1857 (patch)
tree3f794aa46cc27813abc9fb26a06175c5723ca10e /chinese
parentcb406f6bf116764d4da1e55d0ca9a04241c60509 (diff)
downloadfreebsd-ports-gnome-ebb9bdd91406610e20fba3cc7e7b4925eddd1857.tar.gz
freebsd-ports-gnome-ebb9bdd91406610e20fba3cc7e7b4925eddd1857.tar.zst
freebsd-ports-gnome-ebb9bdd91406610e20fba3cc7e7b4925eddd1857.zip
Correct ome alignment problem with patch-ab, this caused make failure.
Submitted by: ycheng@sinica.edu.tw, jtjang@gcn.net.tw
Diffstat (limited to 'chinese')
-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