joerg
bf1636cc51
Don't depend on presence of stdbool.h (or C99 support).
...
Fixes build on Solaris.
2009-06-05 20:00:26 +00:00
joerg
3a3301eff2
No __attribute__ in portable code.
2009-06-05 19:43:12 +00:00
joerg
d379da3d04
Define MAP_FAILED if necessary. From PR 41391.
2009-05-11 22:43:50 +00:00
joerg
e4c01b1be3
Add some defines not defined by the nbcompat version of paths.h as
...
fallback.
2009-05-09 20:15:35 +00:00
joerg
c5e1626ffb
Always use the paths.h from libnbcompat.
2009-05-09 20:09:33 +00:00
joerg
784b388b30
creat -> open
2009-05-09 20:00:39 +00:00
joerg
e48ab2ed05
Add cat page for the sake of platforms without usable nroff installed.
2009-04-29 18:03:47 +00:00
joerg
2e3dd64545
Deal with missing NAME_MAX on AIX.
2009-04-29 13:41:16 +00:00
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