[Pkg-citadel-devel] Bug#725641: webcit: FTBFS on kfreebsd-*: error: 'struct dirent' has no member named 'd_namelen'
Petr.Salinger at seznam.cz
Sat Oct 12 07:32:20 UTC 2013
Control: tags -1 +patch
> | subst.c:1529:28: error: 'struct dirent' has no member named 'd_namelen'
> | d_namelen = filedir_entry->d_namelen;
Only the fields d_name and d_ino are specified
in POSIX.1-2001. The remaining fields are available on many,
but not all systems. Under glibc, programs can check
for the availability of the fields not defined in POSIX.1 by
testing whether the macros
_DIRENT_HAVE_D_OFF, or _DIRENT_HAVE_D_TYPE are defined.
Therefore struct dirent might have member d_namlen (not d_namelen),
which is signalled by macro _DIRENT_HAVE_D_NAMLEN.
Please use attached patch and forward it also to upstream.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Pkg-citadel-devel