summaryrefslogtreecommitdiff
path: root/pkgtools/libnbcompat
AgeCommit message (Collapse)AuthorFilesLines
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
2009-05-06Deal with missing PATH_MAX as reported in PR 41368.joerg2-5/+13
2009-04-14Always declare optreset.joerg1-5/+5
XXX optreset should be removed here, it can't be used correctly with a GNU getopt_long implementation without touching the environment.
2009-04-13libnbcompat-20090409:joerg5-34/+86
Resort and improve getopt_long detection. Should fix issues on Interix reported by mishka@ and QNX problems reported by Sean Boudreau.
2009-03-22libnbcompat-20090322:joerg5-85/+210
Don't use getopt_long as replacement for getopt. It behaves different and doesn't work well in combination with optreset. Instead use getopt(3) from NetBSD if requested. Sync getopt_long.c with NetBSD while here. Addresses issues with pkg_admin on Solaris reported by Tim Zingelman.
2009-03-02libnbcompat-20090302:joerg2-3/+8
Add TAILQ_LAST.
2009-02-26Provide TAILQ_FOREACH_SAFE if it is missing.joerg2-3/+10
2009-02-19Fix PR 40151 - bootstrap of pkgsrc fails on Ubuntu 8.10abs1-1/+6
- At least Ubuntu 8.1 sets __attribute__((warn_unused_result)) on fwrite() http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509 which means (void)fwrite(...) will *always* generate a warning, so set -Wno-error to bypass this in Linux.sys.mk - Ubuntu 8.1 also jumps through hoops to ensure ARG_MAX is *undefined*, so work around this in tnftp and libnbcompat
2009-02-09Only use issetugid if it exists. Fixes reported build issues on QNX andjoerg5-232/+411
AIX.
2008-12-14Need to include stdint.h for unit64_t on SUA 6.0.obache1-1/+5
2008-11-08OpenBSD headers are still not standalone, even though SUS is prettyjoerg2-5/+56
explicit about it at least for netinet/in.h. Include sys/types.h before checking for content of sys/socket.h and netinet/in.h to fix this. Reported and tested by Georg Schwarz.
2008-11-06Add some forgotten ifndefs to fix issues on DragonFly.joerg1-1/+7
2008-10-30Define __UNCONST. From PR 39797.joerg1-3/+5
2008-10-30Avoid STAT as macro, it exists in sys/dir.h on AIX already.joerg2-27/+15
2008-10-29Don't use __RENAME.joerg1-6/+6
2008-10-29Provide more compat glue for ndbm interface as shown in PR 39738.joerg4-10/+87
Bump to libnbcompat-20081029.
2008-10-28Define away O_EXLOCK and O_SHLOCK if they are missing.joerg1-2/+9
2008-10-28Use nbcompat/paths.h, Solaris is missing paths.h. From Uwe Klaus.joerg2-6/+6
2008-10-28Add circleq support. Bump to 20081028. Should fix IRIX build fromjoerg2-3/+134
PR 39797.
2008-10-28Replace EFTYPE with EINVAL if the former doesn't exist.joerg3-4/+18
2008-10-26Provide and use local mpool.h.joerg3-5/+108
2008-10-26Explicitly check for libnsl and libsocket as required by Solaris.joerg2-1/+155
Based on patches from Aleksey Cheusov.
2008-10-19Include nbcompat/types.h early to make sure that uintX_t are defined.joerg1-2/+2
Reported by Aleksey Cheusov and Joern Clausen in PR 39738.
2008-10-10pkg_install-20081010:joerg45-5/+11196
Add optional bdb. Make it included by default for standalone builds.
2008-10-08Mac OS X doesn't define uintXX_t in sys/types.h, so explicitly pull injoerg4-3/+17
inttypes.h if present. Make md5.h, sha1.h and sha2.h self contained by including nbcompat/types.h. Problem reported by Greg Troxel.