aboutsummaryrefslogtreecommitdiffstats
path: root/mbone/nte
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>2001-08-02 06:49:48 +0800
committerfenner <fenner@FreeBSD.org>2001-08-02 06:49:48 +0800
commit710f8709387ef39994e6cdd30d5ef41844fed1e6 (patch)
tree34f21d04cb87b09107407db21db905f429f31cd6 /mbone/nte
parent94f93e3b2066161e74359a294516ef3e78cbcedb (diff)
downloadfreebsd-ports-gnome-710f8709387ef39994e6cdd30d5ef41844fed1e6.tar.gz
freebsd-ports-gnome-710f8709387ef39994e6cdd30d5ef41844fed1e6.tar.zst
freebsd-ports-gnome-710f8709387ef39994e6cdd30d5ef41844fed1e6.zip
Make nte initialize TCL properly.
PR: ports/27219 Submitted by: Takeshi MUTOH <mutoh@info.nara-k.ac.jp>
Diffstat (limited to 'mbone/nte')
-rw-r--r--mbone/nte/files/patch-af16
1 files changed, 16 insertions, 0 deletions
diff --git a/mbone/nte/files/patch-af b/mbone/nte/files/patch-af
new file mode 100644
index 000000000000..b69819c4e244
--- /dev/null
+++ b/mbone/nte/files/patch-af
@@ -0,0 +1,16 @@
+--- src/ui_init.c.orig Wed Aug 1 15:25:41 2001
++++ src/ui_init.c Wed Aug 1 15:26:27 2001
+@@ -167,11 +167,11 @@
+ }
+ Tcl_SetVar(interp, "argv", buf, TCL_GLOBAL_ONLY);
+ #ifndef WIN32
+- if(Tk_Init(interp)!=TCL_OK)
++ if(Tcl_Init(interp)!=TCL_OK || Tk_Init(interp)!=TCL_OK)
+ {
+ /*I'd like to check this, but can't do anything sensible because
+ Tk_Init trys to read the TK_LIBRARY files, and I don't want it to!*/
+- fprintf(stderr, "nt: error opening display: %s\n", interp->result);
++ fprintf(stderr, "nt: error initializing tcl/tk: %s\n", interp->result);
+ exit(1);
+ }
+ #else