diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2005-11-01 09:20:08 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2005-11-01 09:20:08 +0000 |
commit | d215f6c0a99f8720d02ef191d2802cbdd7efe756 (patch) | |
tree | 29be9f9b6d11a74c781f13c09f382edb48fb581a /chinese/gcin/files | |
parent | 4b4f27f030e84fabb598c965431c9d1ab3d4aae6 (diff) |
Notes
Diffstat (limited to 'chinese/gcin/files')
-rw-r--r-- | chinese/gcin/files/patch-gcin2tab.c | 14 | ||||
-rw-r--r-- | chinese/gcin/files/patch-win0.c | 51 |
2 files changed, 14 insertions, 51 deletions
diff --git a/chinese/gcin/files/patch-gcin2tab.c b/chinese/gcin/files/patch-gcin2tab.c new file mode 100644 index 000000000000..d6923dc59f04 --- /dev/null +++ b/chinese/gcin/files/patch-gcin2tab.c @@ -0,0 +1,14 @@ +--- gcin2tab.c.orig Tue Nov 1 15:17:21 2005 ++++ gcin2tab.c Tue Nov 1 15:17:21 2005 +@@ -4,8 +4,11 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> + #include <stdarg.h> + #include <sys/types.h> ++#include <sys/param.h> ++#include <sys/stat.h> + #include <string.h> + #include "gcin.h" + #include "gtab.h" diff --git a/chinese/gcin/files/patch-win0.c b/chinese/gcin/files/patch-win0.c deleted file mode 100644 index 248105150034..000000000000 --- a/chinese/gcin/files/patch-win0.c +++ /dev/null @@ -1,51 +0,0 @@ ---- win0.c.orig Tue Oct 4 22:35:52 2005 -+++ win0.c Tue Oct 4 13:25:26 2005 -@@ -28,6 +28,8 @@ - static GtkWidget *button_eng_ph; - static int max_yl; - -+static void create_win0_gui(); -+ - static void recreate_win0() - { - int i; -@@ -41,8 +43,8 @@ - - void change_win0_style() - { -- if (!top_bin || current_pho_simple_win == pho_simple_win && -- current_gcin_inner_frame == gcin_inner_frame) -+ if (!top_bin || (current_pho_simple_win == pho_simple_win && -+ current_gcin_inner_frame == gcin_inner_frame)) - return; - - gtk_widget_destroy(top_bin); -@@ -153,7 +155,7 @@ - } - - --void disp_char(int index, u_char *ch) -+void disp_char(int index, char *ch) - { - char tt[CH_SZ+1]; - -@@ -342,6 +344,7 @@ - raw_move(best_win_x, best_win_y); - } - -+gboolean tsin_has_input(); - - void move_win0(int x, int y) - { -@@ -505,9 +508,9 @@ - pango_attr_list_insert (attr_list, white_fg); - } - -+void create_win1_gui(); - -- --void create_win0_gui() -+static void create_win0_gui() - { - if (top_bin) - return; |