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



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