summaryrefslogtreecommitdiff
path: root/mbone/vat/patches/patch-aj
blob: 5e1ec611cde805dff73518a33df5c8d4b3814bab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-aj,v 1.3 2010/02/15 18:24:59 is Exp $

--- Tcl.cc.orig	1996-04-03 04:53:27.000000000 +0000
+++ Tcl.cc
@@ -65,6 +65,7 @@ void Tcl::init(Tcl_Interp* tcl, const ch
 {
 	instance_.tcl_ = tcl;
 	instance_.application_ = application;
+	Tcl_Init(tcl);
 }
 
 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)
 {
 	TclObject* tc = (TclObject*)cd;
 	return (tc->command(ac, (const char*const*)av));