diff options
author | Niclas Zeising <zeising@FreeBSD.org> | 2020-08-21 05:27:01 +0800 |
---|---|---|
committer | Niclas Zeising <zeising@FreeBSD.org> | 2020-08-21 05:27:01 +0800 |
commit | 6794140dfb35a892c4675b507ef9d0ec507d16dd (patch) | |
tree | 5463978d3351608f0173502a647f7e6033024b70 /net | |
parent | e178d3411bc43caa9fc57019a643572e6dafd404 (diff) | |
download | freebsd-ports-gnome-6794140dfb35a892c4675b507ef9d0ec507d16dd.tar.gz freebsd-ports-gnome-6794140dfb35a892c4675b507ef9d0ec507d16dd.tar.zst freebsd-ports-gnome-6794140dfb35a892c4675b507ef9d0ec507d16dd.zip |
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
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) + |