pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/bird Fix build on NetBSD 8+



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6bf673da513f
branches:  trunk
changeset: 368988:6bf673da513f
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Sep 25 22:29:06 2017 +0000

description:
Fix build on NetBSD 8+

diffstat:

 net/bird/distinfo                            |   3 ++-
 net/bird/patches/patch-sysdep_bsd_krt-sock.c |  21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r e442b91d1eb9 -r 6bf673da513f net/bird/distinfo
--- a/net/bird/distinfo Mon Sep 25 22:27:43 2017 +0000
+++ b/net/bird/distinfo Mon Sep 25 22:29:06 2017 +0000
@@ -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 -r e442b91d1eb9 -r 6bf673da513f net/bird/patches/patch-sysdep_bsd_krt-sock.c
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/bird/patches/patch-sysdep_bsd_krt-sock.c      Mon Sep 25 22:29:06 2017 +0000
@@ -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)



Home | Main Index | Thread Index | Old Index