Subject: CVS commit: pkgsrc/pkgtools/libnbcompat
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 08/23/2004 03:32:13
Module Name:	pkgsrc
Committed By:	jlam
Date:		Mon Aug 23 03:32:13 UTC 2004

Modified Files:
	pkgsrc/pkgtools/libnbcompat: Makefile PLIST buildlink3.mk
	pkgsrc/pkgtools/libnbcompat/files: Makefile.in README __fts13.c
	    configure configure.ac err.c fgetln.c fnmatch.c fparseln.c getenv.c
	    getopt_long.c glob.c isblank.c lchflags.c lchmod.c lchown.c
	    lutimes.c md5c.c md5hl.c mkdtemp.c mkstemp.c nbcompat.h poll.c
	    pwcache.c regcomp.c regerror.c regexec.c regfree.c rmd160.c
	    rmd160hl.c setenv.c setgroupent.c setmode.c setpassent.c
	    setprogname.c sha1.c sha1hl.c snprintf.c statvfs.c strdup.c
	    strerror.c strlcat.c strlcpy.c strmode.c strsep.c strtoll.c unvis.c
	    usleep.c utimes.c vis.c
	pkgsrc/pkgtools/libnbcompat/files/nbcompat: config.h.in err.h getopt.h
	    limits.h regex.h stat.h statvfs.h stdlib.h unistd.h vis.h
Added Files:
	pkgsrc/pkgtools/libnbcompat/files: __glob13.c __unsetenv13.c findenv.c
	    fts.c gettemp.c mdXhl.c unsetenv.c warn.c
	pkgsrc/pkgtools/libnbcompat/files/nbcompat: assert.h cdefs.h ctype.h
	    dirent.h endian.h param.h termcap.h types.h
	pkgsrc/pkgtools/libnbcompat/files/private: cclass.h cname.h pwcache.h
	    regex2.h utils.h
Removed Files:
	pkgsrc/pkgtools/libnbcompat/files: cclass.h cname.h pwcache.h regex2.h
	    utils.h

Log Message:
Update pkgtools/libnbcompat to 20040822.  Changes from version 20040814
include:

* Rework the way that poll() is detected so that it more closely
  follows how the rest of the replacement functions are detected.

* Split err*() and warn*() functions into separate err.c and warn.c
  files so that we can more finely isolate the objects files pulled
  in by the linker.  This should fix building textproc/nbsed on Solaris.

* Move more definitions from nbcompat.h into nbcompat/*.h.  This makes
  it more clear which NetBSD headers are expected to provide which
  function declarations and macro definitions.

* Clean out nbconfig.h by moving all of the relevant definitions into
  the correct nbcompat/*.h files.

* Update all of the library functions to the latest from src HEAD.
  Also change the way that sources are modified when imported -- we
  now include <nbcompat.h> before the first system header, include
  <nbcompat/*.h> versions of headers instead of system ones where
  available, and "#if 0" the sections that make no sense when being
  built outside of the NetBSD source tree.  This should make future
  updates from src HEAD, e.g. for security updates or bug fixes,
  easier.

* Move all private headers into a subdirectory and include the headers
  from the private directory.  This avoids any nameclashes with system
  headers with the same name.


To generate a diff of this commit:
cvs rdiff -r1.39 -r1.40 pkgsrc/pkgtools/libnbcompat/Makefile
cvs rdiff -r1.12 -r1.13 pkgsrc/pkgtools/libnbcompat/PLIST
cvs rdiff -r1.10 -r1.11 pkgsrc/pkgtools/libnbcompat/buildlink3.mk
cvs rdiff -r1.26 -r1.27 pkgsrc/pkgtools/libnbcompat/files/Makefile.in
cvs rdiff -r1.9 -r1.10 pkgsrc/pkgtools/libnbcompat/files/README \
    pkgsrc/pkgtools/libnbcompat/files/setenv.c
cvs rdiff -r1.6 -r1.7 pkgsrc/pkgtools/libnbcompat/files/__fts13.c \
    pkgsrc/pkgtools/libnbcompat/files/md5hl.c \
    pkgsrc/pkgtools/libnbcompat/files/unvis.c \
    pkgsrc/pkgtools/libnbcompat/files/vis.c
cvs rdiff -r0 -r1.1 pkgsrc/pkgtools/libnbcompat/files/__glob13.c \
    pkgsrc/pkgtools/libnbcompat/files/__unsetenv13.c \
    pkgsrc/pkgtools/libnbcompat/files/findenv.c \
    pkgsrc/pkgtools/libnbcompat/files/fts.c \
    pkgsrc/pkgtools/libnbcompat/files/gettemp.c \
    pkgsrc/pkgtools/libnbcompat/files/mdXhl.c \
    pkgsrc/pkgtools/libnbcompat/files/unsetenv.c \
    pkgsrc/pkgtools/libnbcompat/files/warn.c
cvs rdiff -r1.1 -r0 pkgsrc/pkgtools/libnbcompat/files/cclass.h \
    pkgsrc/pkgtools/libnbcompat/files/cname.h \
    pkgsrc/pkgtools/libnbcompat/files/regex2.h \
    pkgsrc/pkgtools/libnbcompat/files/utils.h
cvs rdiff -r1.46 -r1.47 pkgsrc/pkgtools/libnbcompat/files/configure
cvs rdiff -r1.48 -r1.49 pkgsrc/pkgtools/libnbcompat/files/configure.ac
cvs rdiff -r1.3 -r1.4 pkgsrc/pkgtools/libnbcompat/files/err.c \
    pkgsrc/pkgtools/libnbcompat/files/getenv.c \
    pkgsrc/pkgtools/libnbcompat/files/glob.c \
    pkgsrc/pkgtools/libnbcompat/files/mkstemp.c \
    pkgsrc/pkgtools/libnbcompat/files/strdup.c \
    pkgsrc/pkgtools/libnbcompat/files/strlcat.c \
    pkgsrc/pkgtools/libnbcompat/files/strlcpy.c \
    pkgsrc/pkgtools/libnbcompat/files/strsep.c
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/pkgtools/libnbcompat/files/fgetln.c \
    pkgsrc/pkgtools/libnbcompat/files/lchflags.c \
    pkgsrc/pkgtools/libnbcompat/files/lchmod.c \
    pkgsrc/pkgtools/libnbcompat/files/lchown.c \
    pkgsrc/pkgtools/libnbcompat/files/lutimes.c \
    pkgsrc/pkgtools/libnbcompat/files/strerror.c
cvs rdiff -r1.2 -r1.3 pkgsrc/pkgtools/libnbcompat/files/fnmatch.c \
    pkgsrc/pkgtools/libnbcompat/files/fparseln.c \
    pkgsrc/pkgtools/libnbcompat/files/mkdtemp.c \
    pkgsrc/pkgtools/libnbcompat/files/setprogname.c \
    pkgsrc/pkgtools/libnbcompat/files/snprintf.c \
    pkgsrc/pkgtools/libnbcompat/files/statvfs.c \
    pkgsrc/pkgtools/libnbcompat/files/usleep.c
cvs rdiff -r1.7 -r1.8 pkgsrc/pkgtools/libnbcompat/files/getopt_long.c \
    pkgsrc/pkgtools/libnbcompat/files/pwcache.c
cvs rdiff -r1.4 -r1.5 pkgsrc/pkgtools/libnbcompat/files/isblank.c \
    pkgsrc/pkgtools/libnbcompat/files/strmode.c \
    pkgsrc/pkgtools/libnbcompat/files/strtoll.c
cvs rdiff -r1.5 -r1.6 pkgsrc/pkgtools/libnbcompat/files/md5c.c \
    pkgsrc/pkgtools/libnbcompat/files/rmd160.c \
    pkgsrc/pkgtools/libnbcompat/files/rmd160hl.c \
    pkgsrc/pkgtools/libnbcompat/files/sha1.c \
    pkgsrc/pkgtools/libnbcompat/files/sha1hl.c
cvs rdiff -r1.37 -r1.38 pkgsrc/pkgtools/libnbcompat/files/nbcompat.h
cvs rdiff -r1.1 -r1.2 pkgsrc/pkgtools/libnbcompat/files/poll.c \
    pkgsrc/pkgtools/libnbcompat/files/regcomp.c \
    pkgsrc/pkgtools/libnbcompat/files/regerror.c \
    pkgsrc/pkgtools/libnbcompat/files/regexec.c \
    pkgsrc/pkgtools/libnbcompat/files/regfree.c \
    pkgsrc/pkgtools/libnbcompat/files/setgroupent.c \
    pkgsrc/pkgtools/libnbcompat/files/setpassent.c \
    pkgsrc/pkgtools/libnbcompat/files/utimes.c
cvs rdiff -r1.4 -r0 pkgsrc/pkgtools/libnbcompat/files/pwcache.h
cvs rdiff -r1.8 -r1.9 pkgsrc/pkgtools/libnbcompat/files/setmode.c
cvs rdiff -r0 -r1.1 pkgsrc/pkgtools/libnbcompat/files/nbcompat/assert.h \
    pkgsrc/pkgtools/libnbcompat/files/nbcompat/cdefs.h \
    pkgsrc/pkgtools/libnbcompat/files/nbcompat/ctype.h \
    pkgsrc/pkgtools/libnbcompat/files/nbcompat/dirent.h \
    pkgsrc/pkgtools/libnbcompat/files/nbcompat/endian.h \
    pkgsrc/pkgtools/libnbcompat/files/nbcompat/param.h \
    pkgsrc/pkgtools/libnbcompat/files/nbcompat/termcap.h \
    pkgsrc/pkgtools/libnbcompat/files/nbcompat/types.h
cvs rdiff -r1.13 -r1.14 \
    pkgsrc/pkgtools/libnbcompat/files/nbcompat/config.h.in
cvs rdiff -r1.3 -r1.4 pkgsrc/pkgtools/libnbcompat/files/nbcompat/err.h \
    pkgsrc/pkgtools/libnbcompat/files/nbcompat/getopt.h
cvs rdiff -r1.1 -r1.2 pkgsrc/pkgtools/libnbcompat/files/nbcompat/limits.h \
    pkgsrc/pkgtools/libnbcompat/files/nbcompat/regex.h \
    pkgsrc/pkgtools/libnbcompat/files/nbcompat/stat.h \
    pkgsrc/pkgtools/libnbcompat/files/nbcompat/stdlib.h \
    pkgsrc/pkgtools/libnbcompat/files/nbcompat/unistd.h
cvs rdiff -r1.2 -r1.3 pkgsrc/pkgtools/libnbcompat/files/nbcompat/statvfs.h \
    pkgsrc/pkgtools/libnbcompat/files/nbcompat/vis.h
cvs rdiff -r0 -r1.1 pkgsrc/pkgtools/libnbcompat/files/private/cclass.h \
    pkgsrc/pkgtools/libnbcompat/files/private/cname.h \
    pkgsrc/pkgtools/libnbcompat/files/private/pwcache.h \
    pkgsrc/pkgtools/libnbcompat/files/private/regex2.h \
    pkgsrc/pkgtools/libnbcompat/files/private/utils.h

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