Subject: CVS commit: pkgsrc/misc/screen
To: None <pkgsrc-changes@NetBSD.org>
From: Andrew Brown <atatat@netbsd.org>
List: pkgsrc-changes
Date: 07/15/2004 04:05:40
Module Name:	pkgsrc
Committed By:	atatat
Date:		Thu Jul 15 04:05:40 UTC 2004

Modified Files:
	pkgsrc/misc/screen: Makefile distinfo
	pkgsrc/misc/screen/patches: patch-aj
Added Files:
	pkgsrc/misc/screen/patches: patch-ab patch-ac

Log Message:
Put the config.h.in patch into its own patch file and add more to it
that forces varargs to be used on NetBSD.  Some gcc 3.3 instances
(specifically 3.3.3nb1 on NetBSD/alpha) fail one of the configure
tests making it think we don't have sprintf() (and therefore no
varargs) causing unmentionably evil things to be done instead.  This
usually leads to core dumps.

Fix a pointer-to-integer cast warning by casting to long in between.
The actual use case is harmless, but the compiler can't tell that.

Bump PKGREVISION to 1 for the gcc workaround (affects at least
NetBSD/alpha which can now build a better screen).

Addresses PR pkg/25937.


To generate a diff of this commit:
cvs rdiff -r1.52 -r1.53 pkgsrc/misc/screen/Makefile
cvs rdiff -r1.20 -r1.21 pkgsrc/misc/screen/distinfo
cvs rdiff -r0 -r1.10 pkgsrc/misc/screen/patches/patch-ab
cvs rdiff -r0 -r1.8 pkgsrc/misc/screen/patches/patch-ac
cvs rdiff -r1.2 -r1.3 pkgsrc/misc/screen/patches/patch-aj

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.