From a5baf094379fd2c909fee0e5d0104a9e5cd56966 Mon Sep 17 00:00:00 2001 From: bapt Date: Thu, 12 Apr 2012 22:07:36 +0000 Subject: fix build on 7.X Reported by: pointyhat (pav) --- sysutils/dfc/files/patch-src__dfc.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 sysutils/dfc/files/patch-src__dfc.c (limited to 'sysutils') 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 */ -- cgit