pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/49782: textproc/mdocml won't build on Solaris
The following reply was made to PR pkg/49782; it has been noted by GNATS.
From: Brad Forschinger <bnjf%bnjf.id.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, pkgsrc-bugs%netbsd.org@localhost,
bnjf+netbsd%bnjf.id.au@localhost
Subject: Re: pkg/49782: textproc/mdocml won't build on Solaris
Date: Tue, 24 Mar 2015 17:05:52 +1100
Yep!
--- compat_fts.c.orig Tue Mar 24 17:02:51 2015
+++ compat_fts.c Tue Mar 24 17:04:04 2015
@@ -73,6 +73,13 @@
#define FCHDIR(sp, fd) (!ISSET(FTS_NOCHDIR) && fchdir(fd))
+#ifndef dirfd
+#define dirfd(dirp) (dirp)->dd_fd
+#endif
+#ifndef O_CLOEXEC
+#define O_CLOEXEC 0
+#endif
+
FTS *
fts_open(char * const *argv, int options, void *dummy)
{
Home |
Main Index |
Thread Index |
Old Index