diff options
author | fenner <fenner@FreeBSD.org> | 1999-01-10 16:53:19 +0800 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1999-01-10 16:53:19 +0800 |
commit | 4ec8e7110cba07102bd29c791d1bdc6d1beb58e2 (patch) | |
tree | 0cab68fb6116e269e42a3ab691cbc9d0cea6501d /multimedia/vic/files | |
parent | 9713ae7cb386e765225ccf1c6a033aa65ea6c2d2 (diff) | |
download | freebsd-ports-gnome-4ec8e7110cba07102bd29c791d1bdc6d1beb58e2.tar.gz freebsd-ports-gnome-4ec8e7110cba07102bd29c791d1bdc6d1beb58e2.tar.zst freebsd-ports-gnome-4ec8e7110cba07102bd29c791d1bdc6d1beb58e2.zip |
Allow vat & vic to run with tcl8.0.4.
Diffstat (limited to 'multimedia/vic/files')
-rw-r--r-- | multimedia/vic/files/patch-ag | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/multimedia/vic/files/patch-ag b/multimedia/vic/files/patch-ag index b7c10c120ee8..17380d8c165e 100644 --- a/multimedia/vic/files/patch-ag +++ b/multimedia/vic/files/patch-ag @@ -35,7 +35,15 @@ if (strcmp(argv[1], "srcid") == 0) { --- Tcl.cc.orig Tue Apr 2 20:53:27 1996 +++ Tcl.cc Tue Dec 17 15:45:30 1996 -@@ -162,6 +162,8 @@ +@@ -65,6 +65,7 @@ + { + instance_.tcl_ = tcl; + instance_.application_ = application; ++ Tcl_Init(tcl); + } + + void Tcl::evalc(const char* s) +@@ -162,6 +163,8 @@ Tcl& tcl = Tcl::instance(); if (!tcl.dark()) tcl.DeleteCommand(name_); @@ -44,7 +52,7 @@ TclObject** p; for (p = &all_; *p != this; p = &(*p)->next_) ; -@@ -197,8 +199,9 @@ +@@ -197,8 +200,9 @@ void TclObject::setproc(const char* s) { Tcl& tcl = Tcl::instance(); |