diff options
Diffstat (limited to 'textproc/mdocml/patches/patch-compat_fts.c')
-rw-r--r-- | textproc/mdocml/patches/patch-compat_fts.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/textproc/mdocml/patches/patch-compat_fts.c b/textproc/mdocml/patches/patch-compat_fts.c new file mode 100644 index 00000000000..6b0e4191e8d --- /dev/null +++ b/textproc/mdocml/patches/patch-compat_fts.c @@ -0,0 +1,17 @@ +$NetBSD: patch-compat_fts.c,v 1.3 2015/03/19 08:29:40 tron Exp $ + +Fix build under Solaris 10. + +--- compat_fts.c.orig 2015-03-13 12:38:38.000000000 +0000 ++++ compat_fts.c 2015-03-19 08:22:11.000000000 +0000 +@@ -76,6 +76,10 @@ + + #define FCHDIR(sp, fd) (!ISSET(FTS_NOCHDIR) && fchdir(fd)) + ++#ifdef __sun__ ++#define dirfd(fd) ((fd)->dd_fd) ++#endif ++ + FTS * + fts_open(char * const *argv, int options, void *dummy) + { |