summaryrefslogtreecommitdiff
path: root/pkgtools/libnbcompat
AgeCommit message (Collapse)AuthorFilesLines
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.
2008-10-07Check for existance of sysexits.h and regen config.h.in.joerg3-11/+6
2008-10-06libnbcompat-20080922:joerg25-1548/+1739
- DESTDIR support - Add check for inttypes.h and sys/socket.h - Provide compatibility fallback for netdb.h and the RFC2553 API (getaddrinfo), supoprting IPv4 only. Code from OpenSSH. - Use normal autoconf checks for fixed size bit types. Stop using the older BSD types (u_intXX_t) in libnbcompat. - Add implementation of shquote (from NetBSD). - Fix a buglet in the getenv/setenv/unsetenv detection. - Fix a buglet in the mkdtemp/mkstemp detection.
2008-09-12Determine both for setmode.c and pwcache.c if any of the functions isjoerg2-116/+20
provided by the system and if one is lacking use the file. Don't short cut the list as before and do a second iteration, it is just confusing. This breaks the regression introduced by the last commit on OS X.
2008-09-08libnbcompat-20080908:joerg7-68/+228
- declare endpwent and endgrent if system headers are missing them - check for existance of statfs.f_flags before using it - drop a bunch of redundant function checks Based on the work of Timothy Larson.
2008-07-27Don't mess with PKG_* as it is not required to build bootstrapjoerg1-5/+1
components and it interferes with normal builds.
2008-06-19Make style more consistent.joerg1-6/+6
2008-05-19libnbcompat-20080519:joerg3-15/+12
Many of the hash function headers are incompatible with the OpenSSL headers, so don't include them by default and require the caller to include them on demand.
2008-04-29Drop clauses 3 and 4 from TNF licensesmartin37-298/+39
2008-04-21libnbcompat-20080422:joerg5-2413/+4070
Check if stdio.h declares vasprintf and snprintf and provide a prototype otherwise.
2008-04-17Don't let a mathematican add numbers with less than 20 digits. Fix thejoerg2-3/+3
the offset for November and December and welcome libnbcompat-20080416.
2008-04-04libnbcompat-20080404:joerg1-2/+2
Add an implement of timegm(3) from nsd (based on Python code).
2008-04-04Add an implement of timegm(3) from nsd (based on Python code).joerg2-1/+85
2008-04-04Add an implement of timegm(3) from nsd (based on Python code).joerg2-1/+96
2008-03-21libnbcompat-20080322:joerg4-157/+190
Add an option to force a BSDish getopt (e.g. one with optreset). Use the correct macros to decide when to define optind and friends.
2008-02-22Introduce a variable, LIBNBCOMPAT_USE_PIC, which if set to yes beforetnn1-6/+26
including inplace.mk causes a PIC version of libnbcompat to be built alongside the regular static libnbcompat. This will be used to extend the features framework in two ways: 1) Support linking features into shared modules 2) Ability to cherry-pick individual objects to link from the libnbcompat build directory rather than linking the whole archive.