summaryrefslogtreecommitdiff
path: root/pkgtools/libnbcompat
AgeCommit message (Collapse)AuthorFilesLines
2015-12-25Avoid duplicated RCS IDs forcing permanent rebuilds.joerg2-4/+4
2015-12-13Always redefine TAILQ_FOREACH_REVERSE. Mac OS X Tiger has a version withjoerg1-3/+2
the third and fourth argument swapped.
2015-12-11Fix build under the environment that has no statvfs.ryoon1-3/+3
Fix my old mistake, logic inversion.
2015-12-03Remove target files before symlinking. Fixes bootstrap on Solaris 9.jperkin1-1/+3
2015-09-03Make __nbcompat_unvis13 static, it is not part of the interfacejoerg1-23/+12
contract. Reorder to avoid using it before it is defined. ANSIfy.
2015-09-01Add AC_GNU_SOURCE to configure.ac and regenerate autotoolskamil3-497/+1243
This fixes build on recent ArchLinux with GCC 5.2 and GLibc 2.22. Approved by <wiz>
2015-06-08As the seemingly untested -Werror changes break the bootstrap at leastjoerg10-238/+110
on Linux, update libnbcompat to 20150615: - Assume a C89 environment and malloc, vprintf, memcpy, memset, memmove to be present and working. - Use full prototypes for isblank, snprintf, asprintf and strdup. This avoids GCC failing to do conflicts with the builtins.
2015-05-02Reapply 1.37, but split the dependencies correctly into the header andjoerg1-2/+3
library dependency.
2015-05-02Fix build failure on many platforms.ryoon1-2/+2
The previous commit is obviously wrong because OBJS depends on LIB and LIB is generated from OBJS. And I can build this package with MAKE_JOBS=32.
2015-05-01Ensure that nbconfig.h is created before all object files, avoidingjoerg1-2/+2
mysterious failures for parallel builds.
2015-04-21Use canonical version of config.guess and config.sub for inplace builds.joerg1-1/+5
2015-04-19libnbcompat-20150419: provide getline(3)tnn2-3/+9
2015-04-19regentnn2-15/+47
2015-04-19- provide getline(3) to let cwrappers build on netbsd-5tnn4-7/+142
- also provide getdelim(3) for the getline(3) implementation
2015-04-14Update to libnbcompat-20150414. Changes:jperkin2-3/+7
- Provide a setenv() prototype, required by Solaris 9 for the cwrappers build.
2015-04-05Documenting history.rodent1-1/+10
2015-02-14Same netbsd*-eabi* tweak for libnbcompat's even older config.sub.riastradh1-1/+1
2014-09-03Use MAKE_JOBS for inplace libnbcompat. Reduces the build time for bootstrapjperkin1-3/+3
quite a bit when using --make-jobs, due to the potentially large number of times that libnbcompat needs to be (re)built.
2014-07-25libnbcompat-20140725:jperkin6-12/+22
Newer Linux systems have moved libutil.h to bsd/libutil.h, add the necessary checks for that location. Fixes at least Ubuntu 12.04.
2014-06-07s/HAVE_DECL_ASPRINTF/HAVE_DECL_VASPRINTF/. According to configure.accheusov1-2/+2
presense of vasprintf(3) is checked. This partially fixes bootstrap failure on AltLinux.
2014-03-14Add SCO OpenServer 5.0.7/3.2 supportryoon5-6/+54
2014-03-03Just define PKGNAME and use it.obache1-4/+2
2013-09-08Update to 20130908ryoon10-170/+222
* Fix build on FreeMiNT. * Tested on some platforms, See files/README.
2013-09-08Fix typos in comment from FreeMiNT's db1 patches.ryoon3-8/+8
2013-02-10check missing declaration of setpassent(3) for Cygwin.obache4-4/+18
2012-09-11"user-destdir" is default these daysasau1-3/+1
2012-07-02If either va_copy or __builtin_va_copy is supported, use that in thejoerg5-21/+158
asprintf fallback implementation. If neither is supported, still try to work by copying va_list directly. Should fix PR 45767.
2012-05-15Don't re-define __UNCONST if it is already defined. On old NetBSD systemschristos1-2/+4
the definition is a bit different so they bitch.
2012-03-01Wrap the fts function declarations in __BEGIN_DECL to make them usablehans1-1/+5
from C++.
2011-12-28libnbcompat-20111228: If requesting BSDish getopt behavior, also includejoerg3-397/+791
our own getopt_long. Add a message to signify this in the configure output. Fixes issues reported by hans@ on Solaris with nbpatch. OK during freeze by wiz@
2011-11-10Don't use implementation namespace as include guard. If not using ourjoerg1-3/+8
SHA2 code, fallback to <sha2.h>.
2011-11-08Avoid overlap with libcrypto, the OSF linker can't deal with that.joerg3-57/+25
Fixes PR 42142.
2011-08-20Always build libnbcompat with pkgsrc's make,cheusov1-3/+3
this fixes some build failures
2010-04-20Add workaround for broken pread/pwrite. This is needed at least onjoerg8-90/+207
HP-UX.
2010-03-21Pick up maintainership.joerg1-2/+2
2010-03-21Reset maintainer, developer lost his commit bit.wiz1-2/+2
2010-03-03Avoid conflicting types for `pgno_t', treat same as db_185.h in db[234].obache1-1/+9
IRIX have it in sys/types.h as reported by PR42841.
2010-02-27BSIZE and BSHIFT are defined by sys/param.h on HP-UX, so undef themjoerg1-1/+3
first.
2010-02-20PR 38488: It looks like BSDish warn(3), it smells like BSDish warn(3),joerg2-9859/+2181
but it isn't BSDish warn(3). Do not use warn(3) family on Mac OS X, as it likes to vis(3) some arguments.
2010-01-24* check endian.h and use it if available, for Haiku.obache4-32/+125
* check optarg, it is used in nbcompat/unistd.h, but not checked. * check socket() in -lnetwork in addition to -lsocket, for Haiku.
2010-01-24Kill __weak_alias, it break build on OpenBSD as reported in PR#42102.obache2-4/+8
2010-01-24complement NBBY with 8 if not defined.obache1-1/+5
2010-01-23Update config.guess/config.sub as the normal replacement doesn't workjoerg2-171/+243
here.
2009-08-17Pass down MAKE_ENV when calling make for inplace builds.joerg1-3/+3
2009-07-16Change the logic fromabs1-3/+3
#ifdef MMAP_NOT_AVAILABLE /* Code which uses mmap, but with a comment saying we don't want to use it */ #endif to #if !defined(MMAP_NOT_AVAILABLE) && 0 /* Code which uses mmap, but with a comment saying we don't want to use it */ #endif so system without mmap() also work...
2009-06-14Drop now redundant @unexec ${RMDIR}joerg1-3/+1
2009-06-14Remove @dirrm entries from PLISTsjoerg1-2/+1
2009-06-10Fix PLIST.joerg2-3/+4
2009-06-05libnbcompat-20090605:joerg6-15/+297
Add support for stdbool.h. Tested by sketch on Solaris (where stdbool.h only works in C99 mode).
2009-05-07Attempt to apply a bit of DWIM to previous (PR 41368).schmonz2-8/+8