diff options
author | briggs <briggs@pkgsrc.org> | 2000-10-18 03:59:32 +0000 |
---|---|---|
committer | briggs <briggs@pkgsrc.org> | 2000-10-18 03:59:32 +0000 |
commit | 3f834ef0fae1d04de6511d2509ec217fc4e73667 (patch) | |
tree | 6637b93cde9fa8984d63e53f349c728c928711a7 /net/netatalk-asun | |
parent | 8483f4e096536c9e61d28e3315f467eebc025b3f (diff) | |
download | pkgsrc-3f834ef0fae1d04de6511d2509ec217fc4e73667.tar.gz |
Add an extra padding u_short to the sockaddr_m structure to meet the
stricter requirements now present in sys/net/rtsock.c in a -current kernel.
This change is sufficient for i386, but may still not be correct for
LP64 systems or systems with different alignment constraints.
Thanks to wrstuden for identifying the kernel change that affected this.
Diffstat (limited to 'net/netatalk-asun')
-rw-r--r-- | net/netatalk-asun/files/patch-sum | 3 | ||||
-rw-r--r-- | net/netatalk-asun/patches/patch-bi | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/net/netatalk-asun/files/patch-sum b/net/netatalk-asun/files/patch-sum index 8c73bf7261d..66cc330394d 100644 --- a/net/netatalk-asun/files/patch-sum +++ b/net/netatalk-asun/files/patch-sum @@ -1,4 +1,4 @@ -$NetBSD: patch-sum,v 1.5 2000/08/15 14:48:22 abs Exp $ +$NetBSD: patch-sum,v 1.6 2000/10/18 03:59:33 briggs Exp $ MD5 (patch-aa) = b01f99db357aae4fdc2cd6e20879efc1 MD5 (patch-ab) = c8320acad0a11821edad3f4d0d926441 @@ -34,3 +34,4 @@ MD5 (patch-be) = 29ccc7e5d265a3448596f55528a04131 MD5 (patch-bf) = 660abf089a9b6de182a5e2f6caa88ade MD5 (patch-bg) = 27548334cfd47590de166137cee27960 MD5 (patch-bh) = cb33252bae65a59f65fd7bb71b642020 +MD5 (patch-bi) = a38fa5ace2b28f70cb15bd2f78d1d78f diff --git a/net/netatalk-asun/patches/patch-bi b/net/netatalk-asun/patches/patch-bi new file mode 100644 index 00000000000..a8079afb761 --- /dev/null +++ b/net/netatalk-asun/patches/patch-bi @@ -0,0 +1,13 @@ +$NetBSD: patch-bi,v 1.3 2000/10/18 03:59:33 briggs Exp $ +--- etc/atalkd/route.c.orig Tue Oct 17 23:29:04 2000 ++++ etc/atalkd/route.c Tue Oct 17 23:30:19 2000 +@@ -34,7 +34,8 @@ + u_char sam_family; + u_short sam_pad; + u_short sam_mask; +-} mask = { sizeof( struct sockaddr_m ), 0, 0, 0xffff }; ++ u_short sam_pad2; ++} mask = { sizeof( struct sockaddr_m ), 0, 0, 0xffff, 0 }; + + struct rt_msg_at { + struct rt_msghdr rtma_rtm; |