i,
I tried to get xfsprogs 2.6.36 to compile on FreeBSD, but
it didn't work.
Some comments:
- <sys/quota.h> does not exist on FreeBSD, so remove it from freebsd.c
- <mntent.h> doesn't exist on FreeBSD, so add the appropriate autoconf test
and do not hardcode HAVE_MNTENT_H in paths.c
- getmntinfo() exists on FreeBSD, so add the appropriate autoconf test
- <sys/types.h> must be included before <utmp.h> on FreeBSD
Please provide feedback on the attached patches.
Thanks.
(BTW, I maintain a port of xfsprogs in the FreeBSD ports collection.)
--
Craig Rodrigues
rodrigc@xxxxxxxxxxxxxx
patch-builddefs.in
Description: Text document
patch-configure.in
Description: Text document
patch-package_libcdev.m4
Description: Text document
patch-libxcmd_Makefile
Description: Text document
patch-libxcmd_paths.c
Description: Text document
patch-quota_util.c
Description: Text document
patch-quota_freebsd.c
Description: Text document
|