pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

sysutils/ntfsprogs can't be compiled on current



Hi, trying to compile sysutils/ntfsprogs I got this:
ntfsclone.c:2328:13: error: implicit declaration of function 'fstatfs'; did you mean 'fstatvfs'? [-Wimplicit-function-declaration]
 2328 |         if (fstatfs(fd_out, &opt.stfs) == -1)
      |             ^~~~~~~
      |             fstatvfs
*** Error code 1

NO_STATFS has to be defined. I would do it here:
ntfsclone.c:
[...]
#if defined(__sun) | defined(HAVE_WINDOWS_H)
#define NO_STATFS 1     /* statfs(2) and f_type are not universal */
#endif
[...]

But there is support added by patches to incredibly old versions
of netbsd. I would take the opportunity to clean that, but I don't
know why such old versions are still supported, so I let that to some
developer.

Regards,
adr.


Home | Main Index | Thread Index | Old Index