$OpenBSD: patch-main_cc,v 1.1 2001/07/30 15:33:22 espie Exp $ --- main.cc.orig Fri May 3 15:27:22 1996 +++ main.cc Mon Jul 30 17:25:38 2001 @@ -162,7 +162,7 @@ public: else { Tk_Window tk = t.tkmain(); Tk_Uid uid = Tk_GetUid((char*)argv[1]); - XFontStruct* p = Tk_GetFontStruct(t.interp(), tk, uid); + Tk_Font p = Tk_GetFont(t.interp(), tk, uid); t.result(p != 0 ? "1" : "0"); } return (TCL_OK); @@ -356,7 +356,7 @@ loadbitmaps(Tcl_Interp* tcl) Tk_DefineBitmap(tcl, Tk_GetUid("linein2"), linein2_bits, linein2_width, linein2_height); Tk_DefineBitmap(tcl, Tk_GetUid("linein3"), - linein3_bits, linein3_width, linein3_height); + (char *) linein3_bits, linein3_width, linein3_height); Tk_DefineBitmap(tcl, Tk_GetUid("square"), square_bits, square_width, square_height); }