head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.6 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.4 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.2 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.2.0.4 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.1.0.24 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.22 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.20 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.18 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.16 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.14 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.12 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.10 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.8 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.6 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.4 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.2 cube-native-xorg-base:1.1; locks; strict; comment @# @; 1.3 date 2011.10.06.15.50.38; author dholland; state dead; branches; next 1.2; 1.2 date 2011.07.03.20.15.59; author dholland; state Exp; branches; next 1.1; 1.1 date 2008.08.31.06.52.29; author dholland; state Exp; branches; next ; desc @@ 1.3 log @Roll all the pkgsrc patches (of which there were far too many, and none pkgsrc-specific) into a distfile jumbo patch. Sort the PLIST. While this is not supposed to change the resulting package, bump the PKGREVISION as a precaution and to make sure the build with the patch gets tested properly. @ text @$NetBSD: patch-bo,v 1.2 2011/07/03 20:15:59 dholland Exp $ - use modern C --- server/debug.c~ 1998-01-20 10:56:51.000000000 -0500 +++ server/debug.c 2008-08-31 00:42:03.000000000 -0400 @@@@ -27,6 +27,7 @@@@ * Some routines for debugging. * * * ************************************************************************/ +#include #include #include "xmx.h" @@@@ -317,7 +318,7 @@@@ debug_conn_type_str case XMC: return "XMC"; case XDMCP: return "XDMCP"; default: - sprintf(buf, "<%d>", type); + snprintf(buf, sizeof(buf), "<%d>", type); return buf; } } @@@@ -340,7 +341,7 @@@@ debug_vcstate_str case VC_INFLUX: return "VC_INFLUX"; case VC_FIXED: return "VC_FIXED"; default: - sprintf(buf, "<%d>", state); + snprintf(buf, sizeof(buf), "<%d>", state); return buf; } } @@@@ -369,7 +370,7 @@@@ debug_server_state_str case S_KETCHUP: return "S_KETCHUP"; case S_READY: return "S_READY"; default: - sprintf(buf, "<%d>", state); + snprintf(buf, sizeof(buf), "<%d>", state); return buf; } } @@@@ -391,7 +392,7 @@@@ debug_buf_type_str case B_STATIC: return "B_STATIC"; case B_FREEONWRITE: return "B_FREEONWRITE"; default: - sprintf(buf, "<%d>", type); + snprintf(buf, sizeof(buf), "<%d>", type); return buf; } } @@@@ -415,7 +416,7 @@@@ debug_queue_dest_str case Q_XCLIENT: return "Q_XCLIENT"; case Q_XMCCLIENT: return "Q_XMCCLIENT"; default: - sprintf(buf, "<%d>", dest); + snprintf(buf, sizeof(buf), "<%d>", dest); return buf; } } @@@@ -442,7 +443,7 @@@@ debug_proto_type_str case P_IMAGE: return "P_IMAGE"; case P_EXT: return "P_EXT"; default: - sprintf(buf, "<%d>", type); + snprintf(buf, sizeof(buf), "<%d>", type); return buf; } } @ 1.2 log @add patch comments @ text @d1 1 a1 1 $NetBSD: patch-bo,v 1.1 2008/08/31 06:52:29 dholland Exp $ @ 1.1 log @Fix the "minor PLIST problems" and unmark this as only for SunOS. Add proper deps. Add destdir support. And, finally, make it build properly. (82 (small) patches later...) @ text @d1 3 a3 1 $NetBSD$ @