diff options
author | joerg <joerg@pkgsrc.org> | 2017-09-25 22:29:06 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2017-09-25 22:29:06 +0000 |
commit | 2f5fc702e83630a0dea7663285d59fbe8712e148 (patch) | |
tree | ad50fe6fb756d906697ec0c43d0992476244ba45 | |
parent | 86b773d392fc643770a538b90868c35efa22e0c4 (diff) | |
download | pkgsrc-2f5fc702e83630a0dea7663285d59fbe8712e148.tar.gz |
Fix build on NetBSD 8+
-rw-r--r-- | net/bird/distinfo | 3 | ||||
-rw-r--r-- | net/bird/patches/patch-sysdep_bsd_krt-sock.c | 21 |
2 files changed, 23 insertions, 1 deletions
diff --git a/net/bird/distinfo b/net/bird/distinfo index dbd75a56e66..d3eb9307b24 100644 --- a/net/bird/distinfo +++ b/net/bird/distinfo @@ -1,8 +1,9 @@ -$NetBSD: distinfo,v 1.10 2017/02/11 02:29:48 mef Exp $ +$NetBSD: distinfo,v 1.11 2017/09/25 22:29:06 joerg Exp $ SHA1 (bird-1.6.3.tar.gz) = a6714488c4466778abeaba14ca9441066283676e RMD160 (bird-1.6.3.tar.gz) = 238e113ebbe1871413bce307cd5303f92bc21fe9 SHA512 (bird-1.6.3.tar.gz) = d0f044cbbb3e5fe0624ad8ae58f5fa352ff41a9cd73f37d803431d9d148927bce52d8f2b82e31dd65c753c55b1034aaf8e15739a511e42cd2dd122b5cd1e15df Size (bird-1.6.3.tar.gz) = 1337198 bytes SHA1 (patch-configure) = b22044e5be530867a05406d4b32d789933993d53 +SHA1 (patch-sysdep_bsd_krt-sock.c) = e5e13621e06959222f18a06446fe7941cb33ffef SHA1 (patch-tools_Makefile.in) = 4a6ad298abbe8c42627528c9156ce581a6e07917 diff --git a/net/bird/patches/patch-sysdep_bsd_krt-sock.c b/net/bird/patches/patch-sysdep_bsd_krt-sock.c new file mode 100644 index 00000000000..ec50f45cb13 --- /dev/null +++ b/net/bird/patches/patch-sysdep_bsd_krt-sock.c @@ -0,0 +1,21 @@ +$NetBSD: patch-sysdep_bsd_krt-sock.c,v 1.1 2017/09/25 22:29:06 joerg Exp $ + +RTF_LLDATA is used by NetBSD 8+, RTF_LLINFO before. + +--- sysdep/bsd/krt-sock.c.orig 2017-09-25 12:08:47.512663756 +0000 ++++ sysdep/bsd/krt-sock.c +@@ -349,8 +349,14 @@ krt_read_route(struct ks_msg *msg, struc + if (!(flags & RTF_DONE) && !scan) + SKIP("not done in async\n"); + ++#ifdef RTF_LLINFO + if (flags & RTF_LLINFO) + SKIP("link-local\n"); ++#endif ++#ifdef RTF_LLDATA ++ if (flags & RTF_LLDATA) ++ SKIP("link-local\n"); ++#endif + + #ifdef KRT_SHARED_SOCKET + if (!scan) |