Commit graph

6 commits

Author SHA1 Message Date
joerg
20bc1a77c6 Define SIZE_MAX if it is missing. Fixes build on Interix. 2008-10-08 21:35:56 +00:00
joerg
1f0132f552 Don't use sig_t, it doesn't exist on QNX. Conditionally use madvise or
posix_madvise if MADV_SEQUENTIAL or POSIX_MADV_SEQUENTIAL exist. As it
is a hint for the VM subsystem, it doesn't hurt if neither is provided.
Based on input from Sean Boudreau.
2008-09-16 11:59:29 +00:00
joerg
a425a6696f Pass down LIBS as LDADD to get -lnbcompat linked in. 2008-09-10 19:23:31 +00:00
joerg
4e32d76081 Require BSDish getopt for optreset. 2008-09-10 18:48:56 +00:00
joerg
99696141dc Just replace d_namlen with strlen(d_name). 2008-09-10 18:48:01 +00:00
joerg
e9de7357d7 Import the BSD version of patch ass found in DragonFly and based on the
OpenBSD changes as nbpatch-20080910.

This package is intended to replace devel/patch as dependency for the
infrastructure. GNU patch has issues both with very long lines and with
asymmetric context, making it impossible to use in some situations.
2008-09-10 11:03:21 +00:00