aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-04-13 06:07:36 +0800
committerbapt <bapt@FreeBSD.org>2012-04-13 06:07:36 +0800
commita5baf094379fd2c909fee0e5d0104a9e5cd56966 (patch)
treeada80a55517e861aa372e3c4243fe014b04c6e57 /sysutils
parent309bef6ec6dcecf6414408e925e8925ae6a4a00d (diff)
downloadfreebsd-ports-gnome-a5baf094379fd2c909fee0e5d0104a9e5cd56966.tar.gz
freebsd-ports-gnome-a5baf094379fd2c909fee0e5d0104a9e5cd56966.tar.zst
freebsd-ports-gnome-a5baf094379fd2c909fee0e5d0104a9e5cd56966.zip
fix build on 7.X
Reported by: pointyhat (pav)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/dfc/files/patch-src__dfc.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/dfc/files/patch-src__dfc.c b/sysutils/dfc/files/patch-src__dfc.c
new file mode 100644
index 000000000000..eecffca877ea
--- /dev/null
+++ b/sysutils/dfc/files/patch-src__dfc.c
@@ -0,0 +1,15 @@
+--- ./src/dfc.c.orig 2012-04-03 23:38:18.000000000 +0200
++++ ./src/dfc.c 2012-04-13 00:05:00.488294758 +0200
+@@ -713,10 +713,12 @@
+ if (strlcat(buffer, ",acls", bufsize) >= bufsize)
+ goto truncated;
+ /* NOTREACHED */
++#if __FreeBSD__version > 800000
+ if (flags & MNT_NFS4ACLS)
+ if (strlcat(buffer, ",nfsv4acls", bufsize) >= bufsize)
+ goto truncated;
+ /* NOTREACHED */
++#endif
+
+ return buffer;
+ /* NOTREACHED */