diff options
author | Niclas Zeising <zeising@FreeBSD.org> | 2020-08-22 08:30:55 +0000 |
---|---|---|
committer | Niclas Zeising <zeising@FreeBSD.org> | 2020-08-22 08:30:55 +0000 |
commit | 7322156a00b00b7d6ee4d95c662d5be88ca7627f (patch) | |
tree | fbebfdf8cda83cc171f928eaf0004c907b83a3a2 /net | |
parent | bcb4ffc0af645512c0a5c10446fa8d28409fc949 (diff) | |
download | ports-7322156a00b00b7d6ee4d95c662d5be88ca7627f.tar.gz ports-7322156a00b00b7d6ee4d95c662d5be88ca7627f.zip |
MFH: r545563
net/bird: Fix build with -fno-common
Fix the build of net/bird when compiled with -fno-common, which is the
default with llvm 11.
Approved by: ports-secteam (joenum, implicit, -fno-common fixes)
Notes
Notes:
svn path=/branches/2020Q3/; revision=545745
Diffstat (limited to 'net')
-rw-r--r-- | net/bird/files/patch-sysdep_unix_krt.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/bird/files/patch-sysdep_unix_krt.h b/net/bird/files/patch-sysdep_unix_krt.h new file mode 100644 index 000000000000..a877ca5bf974 --- /dev/null +++ b/net/bird/files/patch-sysdep_unix_krt.h @@ -0,0 +1,11 @@ +--- sysdep/unix/krt.h.orig 2020-08-20 21:22:44 UTC ++++ sysdep/unix/krt.h +@@ -112,7 +112,7 @@ struct kif_proto { + struct kif_state sys; /* Sysdep state */ + }; + +-struct kif_proto *kif_proto; ++extern struct kif_proto *kif_proto; + + #define KIF_CF ((struct kif_config *)p->p.cf) + |