From 79619ba2cd49c6301e5e2473c70941c938746ddf Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Wed, 24 Aug 2005 09:42:39 +0000 Subject: Fix build on 6.x Approved by: portmgr (self) --- security/sfs/files/patch-async_dnsparse.C | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 security/sfs/files/patch-async_dnsparse.C (limited to 'security/sfs') 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 mxl = refcounted::alloc +- (offsetof (mxlist, m_mxes[nmx]) + n_chars); ++ (offsetof (mxlist, m_mxes) + n_chars); + mxrec *mxrecs = mxl->m_mxes; + char *np = (char *) &mxrecs[nmx]; + -- cgit v1.2.3