diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-01-11 12:52:12 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-01-11 12:52:12 +0000 |
commit | e8a49fd3ff7992ab850509b069830a3732c41da9 (patch) | |
tree | 0ce43403849870ff8764f6ea1a238150d36df22c /japanese/vje30/files | |
parent | ef3541be001e1843f534f14e5a45fef90431ebcc (diff) |
Applying the patch posted on unix-ml@vacs.co.jp mailing list by
Hiroyuki Aizu <aizu@jaist.ac.jp>, build `vje' executable from the
source.
This should finally fix the memory leakage problem that has been
reported by many users. :)
Notes
Notes:
svn path=/head/; revision=37094
Diffstat (limited to 'japanese/vje30/files')
-rw-r--r-- | japanese/vje30/files/patch-Makefile | 19 | ||||
-rw-r--r-- | japanese/vje30/files/patch-aa | 4 | ||||
-rw-r--r-- | japanese/vje30/files/patch-ximsub1.c | 28 |
3 files changed, 49 insertions, 2 deletions
diff --git a/japanese/vje30/files/patch-Makefile b/japanese/vje30/files/patch-Makefile new file mode 100644 index 000000000000..1729513bd20a --- /dev/null +++ b/japanese/vje30/files/patch-Makefile @@ -0,0 +1,19 @@ +--- delta/newFrontend/Makefile.FreeBSD.orig Tue Aug 1 03:00:00 2000 ++++ delta/newFrontend/Makefile.FreeBSD Thu Jan 11 21:22:45 2001 +@@ -16,14 +16,14 @@ + DEST = . + HDRS = . -I/usr/X11R6/include + +-CFLAGS = -g -DBSD=1 -DUSE_XPM=0 -DPCUNIX=1 -Dunix -DUSER_DIC -DVJE -DSINGLE=0 -DDLL_SRCH=1 -DADELTA=1 -DDELTA=1 -DUCS -I$(HDRS) ++CFLAGS += -DBSD=1 -DUSE_XPM=0 -DPCUNIX=1 -Dunix -DUSER_DIC -DVJE -DSINGLE=0 -DDLL_SRCH=1 -DADELTA=1 -DDELTA=1 -DUCS -I$(HDRS) + + BSDLIBS = -lxpg4 + #BSDLIBS = + #XPMLIB = -lXpm + XPMLIB = + LIBS = $(BSDLIBS) $(XPMLIB) -lXmu -L/usr/X11R6/lib -lXt -lX11 -lXext +-LINKER = cc ++LINKER = $(CC) + + MAKEFILE = Makefile + diff --git a/japanese/vje30/files/patch-aa b/japanese/vje30/files/patch-aa index ccb9e4b2a980..a605e7836148 100644 --- a/japanese/vje30/files/patch-aa +++ b/japanese/vje30/files/patch-aa @@ -1,5 +1,5 @@ ---- vje30/bin/vjeacc.orig Tue Dec 28 03:00:00 1999 -+++ vje30/bin/vjeacc Wed Jul 5 12:26:22 2000 +--- usr/local/vje30/bin/vjeacc.orig Tue Dec 28 03:00:00 1999 ++++ usr/local/vje30/bin/vjeacc Thu Jan 11 21:28:59 2001 @@ -23,10 +23,18 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$VJE_HOME/lib diff --git a/japanese/vje30/files/patch-ximsub1.c b/japanese/vje30/files/patch-ximsub1.c new file mode 100644 index 000000000000..10a303ce1f7e --- /dev/null +++ b/japanese/vje30/files/patch-ximsub1.c @@ -0,0 +1,28 @@ +--- delta/newFrontend/ximsub1.c.orig Tue Aug 1 03:00:00 2000 ++++ delta/newFrontend/ximsub1.c Thu Jan 11 21:24:21 2001 +@@ -259,10 +259,11 @@ + + if (&fxim_table[i].client == xim_client) { + FreeRecvQueue(fxim_table[i].client.pending); ++ + #if 1/*991109*/ +- if (xim_client->v_data) { ++ /* if (xim_client->v_data) { */ + CloseVJE (xim_client); +- } ++ /* } */ + #endif + fxim_table[i].client.used = False; + if (xim_client->preedit->FontName) { +@@ -295,9 +296,9 @@ + FreeRecvQueue(fxim_table[i].client.pending); + #if 1/*991109*/ + xim_client = &fxim_table[i].client; +- if (xim_client->v_data) { ++ /* if (xim_client->v_data) { */ + CloseVJE (xim_client); +- } ++ /* } */ + #endif + fxim_table[i].client.used = False; + |