1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/multimedia/vic/files/patch-ad

22 lines
543 B
Plaintext
Raw Normal View History

1997-09-11 03:55:02 +00:00
--- 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);
1996-11-04 04:43:57 +00:00
@@ -425,6 +425,9 @@
#endif
signal(SIGINT, ciao);
signal(SIGTERM, ciao);
+#ifdef __FreeBSD__
+ signal(SIGSYS, (sig_t)noXShm);
+#endif
#ifdef WIN32
TkSetPlatformInit(TkPlatformInit);