diff options
Diffstat (limited to 'sysutils/cd-write/files/patch-4')
-rw-r--r-- | sysutils/cd-write/files/patch-4 | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/sysutils/cd-write/files/patch-4 b/sysutils/cd-write/files/patch-4 index f5cd773e2d7b..400f538396d2 100644 --- a/sysutils/cd-write/files/patch-4 +++ b/sysutils/cd-write/files/patch-4 @@ -1,5 +1,5 @@ --- c++tk/c++tk.cc.orig Thu Sep 25 03:43:24 1997 -+++ c++tk/c++tk.cc Sun Dec 5 17:06:02 1999 ++++ c++tk/c++tk.cc Sat Apr 29 23:40:59 2000 @@ -28,6 +28,9 @@ // $Id: c++tk.cc,v 1.22 1997/05/19 04:06:12 jmz Exp $ // @@ -14,8 +14,9 @@ extern "C" { int Tk_Init (Tcl_Interp *); -+#if 0 - ClientData Tk_MainWindow (Tcl_Interp *); +- ClientData Tk_MainWindow (Tcl_Interp *); ++#ifdef TIX ++ int Tixsam_Init (Tcl_Interp *); +#endif } @@ -29,16 +30,20 @@ sprintf (xstr, "%s configure -variable %s%x", pname, VARNAME, v);\ TkError = Tcl_GlobalEval (interp, xstr);\ sprintf (xstr, "%s%x", VARNAME, v);\ -@@ -270,7 +275,11 @@ +@@ -270,7 +275,6 @@ } return 0; } - -+#ifdef TIX -+extern "C" { -+ int Tixsam_Init (Tcl_Interp *); -+} -+#endif static void initialize () { +@@ -302,7 +306,7 @@ + #endif + Tcl_CreateCommand (interp, JMPNAME, + (Tcl_CmdProc *) Proc_Handler, +- Tk_MainWindow (interp), 0); ++ (void *)Tk_MainWindow (interp), 0); + i_vars = new int * [VAR_SIZE]; + I_vars = new int [VAR_SIZE]; + t_vars = new char * [VAR_SIZE]; |