[BACK]Return to patch-ac CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / mbone / vat / patches

File: [cvs.NetBSD.org] / pkgsrc / mbone / vat / patches / patch-ac (download)

Revision 1.4, Sat Oct 18 13:20:32 2003 UTC (16 years, 11 months ago) by cjep
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4, pkgsrc-2009Q3-base, pkgsrc-2009Q3, pkgsrc-2009Q2-base, pkgsrc-2009Q2, pkgsrc-2009Q1-base, pkgsrc-2009Q1, pkgsrc-2008Q4-base, pkgsrc-2008Q4, pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, pkgsrc-2007Q3-base, pkgsrc-2007Q3, pkgsrc-2007Q2-base, pkgsrc-2007Q2, pkgsrc-2007Q1-base, pkgsrc-2007Q1, pkgsrc-2006Q4-base, pkgsrc-2006Q4, pkgsrc-2006Q3-base, pkgsrc-2006Q3, pkgsrc-2006Q2-base, pkgsrc-2006Q2, pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4, pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2, pkgsrc-2005Q1-base, pkgsrc-2005Q1, pkgsrc-2004Q4-base, pkgsrc-2004Q4, pkgsrc-2004Q3-base, pkgsrc-2004Q3, pkgsrc-2004Q2-base, pkgsrc-2004Q2, pkgsrc-2004Q1-base, pkgsrc-2004Q1, pkgsrc-2003Q4-base, pkgsrc-2003Q4, cwrapper, cube-native-xorg-base, cube-native-xorg
Changes since 1.3: +1 -0 lines

Add RCS IDs

$NetBSD: patch-ac,v 1.4 2003/10/18 13:20:32 cjep Exp $
--- main.cc.orig	1996-05-03 23:27:22.000000000 +1000
+++ main.cc	2003-10-08 23:03:15.000000000 +1000
@@ -132,13 +132,13 @@
 
 void initcatchers()
 {
-	signal(SIGINT, DoQuit);
+	signal(SIGINT, (void (*)(int))DoQuit);
 #ifdef SIGHUP
-	signal(SIGHUP, DoQuit);
+	signal(SIGHUP, (void (*)(int))DoQuit);
 #endif
-	signal(SIGTERM, DoQuit);
+	signal(SIGTERM, (void (*)(int))DoQuit);
 #ifdef SIGCHLD
-	signal(SIGCHLD, ReapChild);
+	signal(SIGCHLD, (void (*)(int))ReapChild);
 #endif
 }
 
@@ -162,7 +162,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);