ports/sysutils/dfc/files/patch-src__dfc.c
Baptiste Daroussin 1145d6019e - update to 3.0.0
- add an options for NLS
- upstream changes:
  * fix size and inode calculation on FreeBSD
  * new aguments:
    -l: show only local mounts
    -d: show the used size
    -e: allow to export informations in TeX, HTML, CSV
    -p: filter on file system name
    -q: sort the output
  * more: http://projects.gw-computing.net/news/12
2012-06-15 21:53:04 +00:00

11 lines
457 B
C

--- ./src/dfc.c.orig 2012-05-31 00:25:46.000000000 +0200
+++ ./src/dfc.c 2012-06-15 23:39:58.405538089 +0200
@@ -853,7 +853,7 @@
#if defined(__FreeBSD__) || defined(__APPLE__)
{ MNT_MULTILABEL, "multilabel" },
#endif
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) && __FreeBSD__version > 800000
{ MNT_NFS4ACLS, "nfs4acls" },
#endif
#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) \