Commit graph

18 commits

Author SHA1 Message Date
joerg
e676f33c2e From PR 43188: basename(3) and dirname(3) are in libgen on IRIX 2010-05-02 22:33:27 +00:00
tnn
8416855262 - avoid catpage regeneration
- fix typo in comment
2010-04-20 15:41:20 +00:00
joerg
b9ba5646b7 nbpatch-20100124: Fix a memory leak. 2010-01-23 23:08:03 +00:00
joerg
67c9719d1a nbpatch-20091021:
Do not try to mmap a zero length file. This can fail e.g. on Solaris.
2009-10-21 17:17:04 +00:00
joerg
9e7d00b618 Don't depend on presence of stdbool.h (or C99 support).
Fixes build on Solaris.
2009-06-05 20:00:26 +00:00
joerg
40017c3b10 No __attribute__ in portable code. 2009-06-05 19:43:12 +00:00
joerg
63b370ab31 Define MAP_FAILED if necessary. From PR 41391. 2009-05-11 22:43:50 +00:00
joerg
d0e03fe803 Add some defines not defined by the nbcompat version of paths.h as
fallback.
2009-05-09 20:15:35 +00:00
joerg
0e9eb866e1 Always use the paths.h from libnbcompat. 2009-05-09 20:09:33 +00:00
joerg
cb3f54e605 creat -> open 2009-05-09 20:00:39 +00:00
joerg
712f2b3766 Add cat page for the sake of platforms without usable nroff installed. 2009-04-29 18:03:47 +00:00
joerg
c5fa7f539f 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