summaryrefslogtreecommitdiff
path: root/mbone/vic/patches/patch-ad
blob: 2bb0ab8b991be8af01675a5e185abae89717aa5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- /usr/local/pkgsrc//mbone/vic/work/vic-2.8/main.cc	Mon Jul 22 22:12:22 1996
+++ main.cc	Tue Nov 18 13:16:25 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);
 	signal(SIGTERM, ciao);
+#ifdef __FreeBSD__
+	signal(SIGSYS, (sig_t)noXShm);
+#endif
 
 #ifdef WIN32
 	TkSetPlatformInit(TkPlatformInit);