mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
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. MFH: 2020Q3
This commit is contained in:
parent
e178d3411b
commit
6794140dfb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545563
1 changed files with 11 additions and 0 deletions
11
net/bird/files/patch-sysdep_unix_krt.h
Normal file
11
net/bird/files/patch-sysdep_unix_krt.h
Normal file
|
@ -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)
|
||||
|
Loading…
Add table
Reference in a new issue