xfs
[Top] [All Lists]

xfsprogs 2.6.36 does not compile on FreeBSD

To: linux-xfs@xxxxxxxxxxx
Subject: xfsprogs 2.6.36 does not compile on FreeBSD
From: Craig Rodrigues <rodrigc@xxxxxxxxxxxxxx>
Date: Wed, 10 Aug 2005 22:48:35 -0400
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.9i
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

Attachment: patch-builddefs.in
Description: Text document

Attachment: patch-configure.in
Description: Text document

Attachment: patch-package_libcdev.m4
Description: Text document

Attachment: patch-libxcmd_Makefile
Description: Text document

Attachment: patch-libxcmd_paths.c
Description: Text document

Attachment: patch-quota_util.c
Description: Text document

Attachment: patch-quota_freebsd.c
Description: Text document

<Prev in Thread] Current Thread [Next in Thread>
  • xfsprogs 2.6.36 does not compile on FreeBSD, Craig Rodrigues <=