summaryrefslogtreecommitdiff
path: root/security/sfs/files
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2005-08-24 09:42:39 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2005-08-24 09:42:39 +0000
commit79619ba2cd49c6301e5e2473c70941c938746ddf (patch)
tree891f2dcb99e39fb0fd27e84ac4c2253fc3ae1791 /security/sfs/files
parentFix for broken build under 4.X. (diff)
Fix build on 6.x
Approved by: portmgr (self)
Notes
Notes: svn path=/head/; revision=140962
Diffstat (limited to 'security/sfs/files')
-rw-r--r--security/sfs/files/patch-async_dnsparse.C14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/sfs/files/patch-async_dnsparse.C b/security/sfs/files/patch-async_dnsparse.C
new file mode 100644
index 000000000000..11815c23bef3
--- /dev/null
+++ b/security/sfs/files/patch-async_dnsparse.C
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- async/dnsparse.C.orig
++++ async/dnsparse.C
+@@ -323,7 +323,7 @@
+ n_chars += strlen (name) + 1;
+
+ ref <mxlist> mxl = refcounted<mxlist, vsize>::alloc
+- (offsetof (mxlist, m_mxes[nmx]) + n_chars);
++ (offsetof (mxlist, m_mxes) + n_chars);
+ mxrec *mxrecs = mxl->m_mxes;
+ char *np = (char *) &mxrecs[nmx];
+