aboutsummaryrefslogtreecommitdiff
path: root/japanese/vje30/files
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-05-28 16:46:23 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-05-28 16:46:23 +0000
commita11dcc5cc3cb006237ecaeafd4c2e8f511c95313 (patch)
tree00b46b41bdd4c1f3351487f93e6fa816fc314419 /japanese/vje30/files
parent389d318e31a745bf7362dc9ad602ef904568aebc (diff)
downloadports-a11dcc5cc3cb006237ecaeafd4c2e8f511c95313.tar.gz
ports-a11dcc5cc3cb006237ecaeafd4c2e8f511c95313.zip
Notes
Diffstat (limited to 'japanese/vje30/files')
-rw-r--r--japanese/vje30/files/patch-xdrawsub.c31
-rw-r--r--japanese/vje30/files/patch-ximsub1.c20
-rw-r--r--japanese/vje30/files/patch-ximsub2.c14
-rw-r--r--japanese/vje30/files/patch-xkoho.c9
4 files changed, 54 insertions, 20 deletions
diff --git a/japanese/vje30/files/patch-xdrawsub.c b/japanese/vje30/files/patch-xdrawsub.c
new file mode 100644
index 000000000000..5ff4e50a7aa2
--- /dev/null
+++ b/japanese/vje30/files/patch-xdrawsub.c
@@ -0,0 +1,31 @@
+--- delta/newFrontend/xdrawsub.c.orig Fri May 17 14:12:26 2002
++++ delta/newFrontend/xdrawsub.c Tue May 28 18:50:06 2002
+@@ -3,7 +3,12 @@
+ * グラフィックコンテキストのロード・解放処理
+ * テキスト文字サイズ取得処理
+ */
++#ifdef __FreeBSD__
++#include <stdio.h>
++#include <stdlib.h>
++#else
+ #include <malloc.h>
++#endif
+ #include <errno.h>
+ #include <ctype.h>
+ #include <string.h>
+@@ -770,6 +775,7 @@
+ int FXDefaultIOError( display )
+ Display *display;
+ {
++#ifndef __FreeBSD__
+ #ifdef linux
+ #if MKLINUX || LIBC6
+ extern const char *const sys_errlist[];
+@@ -784,6 +790,7 @@
+ #endif
+ #endif
+ extern int sys_nerr;
++#endif
+ char *SysErrorMsg;
+ SysErrorMsg = (errno >= 0 && errno < sys_nerr) ?
+ (char *)sys_errlist[errno] : (char *)"unknown error";
diff --git a/japanese/vje30/files/patch-ximsub1.c b/japanese/vje30/files/patch-ximsub1.c
deleted file mode 100644
index 7a1678577684..000000000000
--- a/japanese/vje30/files/patch-ximsub1.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- delta/newFrontend/ximsub1.c.orig Tue Aug 1 03:00:00 2000
-+++ delta/newFrontend/ximsub1.c Tue Apr 23 06:24:39 2002
-@@ -260,7 +260,7 @@
- if (&fxim_table[i].client == xim_client) {
- FreeRecvQueue(fxim_table[i].client.pending);
- #if 1/*991109*/
-- if (xim_client->v_data) {
-+ if (1) { /* (xim_client->v_data) { */
- CloseVJE (xim_client);
- }
- #endif
-@@ -295,7 +295,7 @@
- FreeRecvQueue(fxim_table[i].client.pending);
- #if 1/*991109*/
- xim_client = &fxim_table[i].client;
-- if (xim_client->v_data) {
-+ if (1) { /* (xim_client->v_data) { */
- CloseVJE (xim_client);
- }
- #endif
diff --git a/japanese/vje30/files/patch-ximsub2.c b/japanese/vje30/files/patch-ximsub2.c
new file mode 100644
index 000000000000..7dd79aad4fd4
--- /dev/null
+++ b/japanese/vje30/files/patch-ximsub2.c
@@ -0,0 +1,14 @@
+--- delta/newFrontend/ximsub2.c.orig Wed May 22 16:26:06 2002
++++ delta/newFrontend/ximsub2.c Tue May 28 18:52:57 2002
+@@ -126,7 +126,11 @@
+ */
+ #include <stdio.h>
+ #include <string.h>
++#ifdef __FreeBSD__
++#include <stdlib.h>
++#else
+ #include <malloc.h>
++#endif
+ #include "xim.h"
+ #include <X11/Xatom.h>
+ #include <X11/Xutil.h>
diff --git a/japanese/vje30/files/patch-xkoho.c b/japanese/vje30/files/patch-xkoho.c
new file mode 100644
index 000000000000..211737b8488e
--- /dev/null
+++ b/japanese/vje30/files/patch-xkoho.c
@@ -0,0 +1,9 @@
+--- delta/newFrontend/xkoho.c.orig Fri May 17 14:12:28 2002
++++ delta/newFrontend/xkoho.c Wed May 29 00:20:49 2002
+@@ -1795,4 +1795,6 @@
+ if (!rc) {
+ return (FALSE);
+ }
++
++ return (TRUE);
+ }