Subject: PR/36678 CVS commit: [netbsd-4] src/tools/compat
To: None <,,>
From: Pavel Cahyna <>
List: netbsd-bugs
Date: 08/30/2007 22:40:03
The following reply was made to PR bin/36678; it has been noted by GNATS.

From: Pavel Cahyna <>
Subject: PR/36678 CVS commit: [netbsd-4] src/tools/compat
Date: Thu, 30 Aug 2007 22:37:37 +0000 (UTC)

 Module Name:	src
 Committed By:	pavel
 Date:		Thu Aug 30 22:37:37 UTC 2007
 Modified Files:
 	src/tools/compat [netbsd-4]: Makefile compat_defs.h
 Log Message:
 Pull up following revision(s) (requested by apb in ticket #827):
 	tools/compat/Makefile: revision 1.50
 	tools/compat/compat_defs.h: revision 1.60
 	tools/compat/ revision 1.62-1.64
 More detailed instructions for what to do when editing
 In particular, discourage the use of non-tools versions of
 autoconf and autoheader.
 Provide definitions for {be,le}{16,32,64}{enc,dec} if necessary.
 This is adapted from the very detailed fix provided by
 Giles Lean in PR bin/36678.
 Only one simplified implementation is provided, instead of the
 two implementations conditional on __GNUC_PREREQ__(2,95) that are
 provided in NetBSD's <sys/endian.h>.  The use of memcpy instead of
 __builtin__memcpy, and the absence of __inline or __unused, should make
 it independent of GCC.
 Update the instructions to say that regen should be done again
 to pick up changed RCS IDs.
 To generate a diff of this commit:
 cvs rdiff -r1.47 -r1.47.2.1 src/tools/compat/Makefile
 cvs rdiff -r1.57 -r1.57.2.1 src/tools/compat/compat_defs.h
 cvs rdiff -r1.60 -r1.60.2.1 src/tools/compat/
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.