diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2005-08-24 09:42:39 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2005-08-24 09:42:39 +0000 |
commit | 79619ba2cd49c6301e5e2473c70941c938746ddf (patch) | |
tree | 891f2dcb99e39fb0fd27e84ac4c2253fc3ae1791 /security/sfs/files | |
parent | Fix 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.C | 14 |
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]; + |