./pkgtools/libnbcompat, Portable NetBSD compatibility library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 20240319, Package name: libnbcompat-20240319, Maintainer: pkgsrc-users

libnbcompat is a portable NetBSD compatibility library for use by
the pkgsrc tools and other sources from NetBSD (and elsewhere).

It is also helpful for providing definitions and functions missing from
other Unix platforms.


Required to build:
[pkgtools/cwrappers]

Version history: (Expand)


CVS history: (Expand)


   2024-03-19 01:59:01 by Nia Alarie | Files touched by this commit (8)
Log message:
libnbcompat: Add memrchr.
   2024-03-17 22:44:21 by Thomas Klausner | Files touched by this commit (1)
Log message:
libnbcompat: revert previous, breaks cwrappers on NetBSD

Reported by John D. Baker on pkgsrc-users.
   2024-03-17 14:40:14 by Nia Alarie | Files touched by this commit (1)
Log message:
libnbcompat: When linking with an "in-place" copy of libnbcompat in each
piece of software that needs to pull functions from it, prevent libtool
from detecting -lnbcompat in the command line arguments then declaring
it as a dependency in the resulting libtool archive.
   2024-01-12 20:14:19 by Thomas Klausner | Files touched by this commit (1)
Log message:
libnbcompat: remove sys/cdefs.h include from strndup.c

The file already includes nbcompat/cdefs.h.

Fixes build on Solaris 10, reported and tested by Dan Clough in PR 57838.
   2023-11-09 19:55:19 by Nia Alarie | Files touched by this commit (7)
Log message:
libnbcompat: Add strndup(3) for Mac OS X 10.4.
   2023-09-04 21:51:19 by Jonathan Perkin | Files touched by this commit (3)
Log message:
libnbcompat: Update to 20230904.

Pull in changes from revision 1.13 of NetBSD sha2.c from 14 years ago to
fix type punning issues seen with newer GCCs.

Fixes "pkg_admin digest" on SmartOS with GCC 12, where the output was
completely wrong, causing bulk builds to rebuild every package every time
now that USE_PKG_ADMIN_DIGEST=yes is the default.
   2023-06-27 11:31:09 by Taylor R Campbell | Files touched by this commit (2)
Log message:
libnbcompat: Bump package date for recent configure changes.

Record my test on NetBSD.
   2023-06-27 11:30:58 by Taylor R Campbell | Files touched by this commit (1)
Log message:
libnbcompat: Predetermine printf runtime test outcomes in configure.

This way libnbcompat can be safely cross-compiled for NetBSD, as it
should be for anything NetBSD!

While here, use CONFIGURE_ENV.${OPSYS} instead of .if ${OPSYS} == and
.if ${USE_CROSS_COMPILE:U:tl} == "yes" instead of .if
!empty(USE_CROSS_COMPILE:M[yYe][eE][sS]).