Fix build on 6.x

Approved by:	portmgr (self)
This commit is contained in:
Kirill Ponomarev 2005-08-24 09:42:39 +00:00
parent bcbce02d61
commit 79619ba2cd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140962

View file

@ -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];