Fix build on 6.x
Approved by: portmgr (self)
This commit is contained in:
parent
bcbce02d61
commit
79619ba2cd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140962
1 changed files with 14 additions and 0 deletions
14
security/sfs/files/patch-async_dnsparse.C
Normal file
14
security/sfs/files/patch-async_dnsparse.C
Normal 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];
|
||||
|
Loading…
Reference in a new issue