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: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/49782: textproc/mdocml won't build on Solaris
Date: Tue, 24 Mar 2015 05:58:52 +0000
On Tue, Mar 24, 2015 at 04:45:00AM +0000, bnjf+netbsd%bnjf.id.au@localhost wrote:
> In compat_fts.c:
>
> #ifndef __sun
> if (fts_safe_changedir(sp, cur, dirfd(dirp), NULL)) {
> #else
> if (fts_safe_changedir(sp, cur, dirp->dd_fd, NULL)) {
> #endif
Does it work to do
#ifndef dirfd
#define dirfd(dirp) dirp->dd_fd
#endif
?
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index