From c6ac4c37007ebfb6c8e561d4bc20f135175d05a1 Mon Sep 17 00:00:00 2001 From: Bill Fenner Date: Thu, 11 Sep 1997 03:55:02 +0000 Subject: Make port work with tcl/tk 8.0 --- mbone/vic/files/patch-ad | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'mbone/vic/files/patch-ad') diff --git a/mbone/vic/files/patch-ad b/mbone/vic/files/patch-ad index 02ebddc7a21b..b05eaed5d11a 100644 --- a/mbone/vic/files/patch-ad +++ b/mbone/vic/files/patch-ad @@ -1,5 +1,14 @@ ---- main.cc.orig Sun Nov 3 16:17:04 1996 -+++ main.cc Sun Nov 3 16:17:05 1996 +--- main.cc.orig Mon Jul 22 13:12:22 1996 ++++ main.cc Tue Sep 9 10:25:36 1997 +@@ -177,7 +177,7 @@ + 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); @@ -425,6 +425,9 @@ #endif signal(SIGINT, ciao); -- cgit v1.2.3