Subject: CVS commit: [netbsd-2-0] src
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 06/22/2004 07:30:28
Module Name: src
Committed By: tron
Date: Tue Jun 22 07:30:28 UTC 2004
Modified Files:
src/share/mk [netbsd-2-0]: bsd.hostprog.mk
src/tools/compat [netbsd-2-0]: configure.ac
src/usr.sbin/mtree [netbsd-2-0]: compare.c
Log Message:
Pull up revision 1.44 (requested by jmc in ticket #527):
Completely rework how tools/compat is done. Purge all uses/references to
_NETBSD_SOURCE as this makes cross building from older/newer versions of
NetBSD harder, not easier (and also makes the resulting tools 'different')
Wrap all required code with the inclusion of nbtool_config.h, attempt to
only use POSIX code in all places (or when reasonable test w. configure and
provide definitions: ala u_int, etc).
Reviewed by lukem. Tested on FreeBSD 4.9, Redhat Linux ES3, NetBSD 1.6.2 x86
NetBSD current (x86 and amd64) and Solaris 9.
Fixes PR's: PR#17762 PR#25944
To generate a diff of this commit:
cvs rdiff -r1.41.2.1 -r1.41.2.2 src/share/mk/bsd.hostprog.mk
cvs rdiff -r1.42 -r1.42.2.1 src/tools/compat/configure.ac
cvs rdiff -r1.43 -r1.43.2.1 src/usr.sbin/mtree/compare.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.