diff options
Diffstat (limited to 'mbone/vat/patches/patch-aj')
-rw-r--r-- | mbone/vat/patches/patch-aj | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/mbone/vat/patches/patch-aj b/mbone/vat/patches/patch-aj index 884375d2f76..bdda87f8060 100644 --- a/mbone/vat/patches/patch-aj +++ b/mbone/vat/patches/patch-aj @@ -1,10 +1,8 @@ -$NetBSD: patch-aj,v 1.1 1999/05/23 22:23:02 he Exp $ +$NetBSD: patch-aj,v 1.2 2010/01/25 21:07:48 is Exp $ ---- Tcl.cc.old Mon May 24 00:18:47 1999 -+++ Tcl.cc Mon May 24 00:17:27 1999 -@@ -63,10 +63,11 @@ - - void Tcl::init(Tcl_Interp* tcl, const char* application) +--- /pkg_comp/obj/pkgsrc/mbone/vat/netbsd5/vat-4.0b2/Tcl.cc.orig 1996-04-03 04:53:27.000000000 +0000 ++++ /pkg_comp/obj/pkgsrc/mbone/vat/netbsd5/vat-4.0b2/Tcl.cc +@@ -65,6 +65,7 @@ void Tcl::init(Tcl_Interp* tcl, const ch { instance_.tcl_ = tcl; instance_.application_ = application; @@ -12,5 +10,12 @@ $NetBSD: patch-aj,v 1.1 1999/05/23 22:23:02 he Exp $ } void Tcl::evalc(const char* s) +@@ -210,7 +211,7 @@ void TclObject::setproc(const char* s) + } + } + +-int TclObject::callback(ClientData cd, Tcl_Interp*, int ac, char** av) ++int TclObject::callback(ClientData cd, Tcl_Interp*, int ac, const char** av) { - u_int n = strlen(s) + 1; + TclObject* tc = (TclObject*)cd; + return (tc->command(ac, (const char*const*)av)); |