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-bn,v 1.2 2011/07/03 20:15:59 dholland Exp $ - use modern C --- server/cx.c.orig 1997-10-03 16:45:33.000000000 -0400 +++ server/cx.c 2008-08-31 01:27:59.000000000 -0400 @@@@ -30,6 +30,7 @@@@ * server i/o dialog. * * * ************************************************************************/ +#include #include "xmx.h" #include "df.h" #include "cx.h" @@@@ -113,8 +114,12 @@@@ new_cx cxp = cxfree; cxfree = cxfree->next; } - else if (MALLOC(cxp, cx_t *, sizeof(cx_t))) - return (cx_t *)err(0, "malloc returned zero"); + else if (MALLOC(cxp, cx_t *, sizeof(cx_t))) { + /* this err returns its first argument */ + /*return (cx_t *)err(0, "malloc returned zero");*/ + err(0, "malloc returned zero"); + return NULL; + } return cxp; } @ 1.2 log @add patch comments @ text @d1 1 a1 1 $NetBSD: patch-bn,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$ @