svn commit: r545563 - head/net/bird/files
Niclas Zeising
zeising at FreeBSD.org
Thu Aug 20 21:27:02 UTC 2020
Author: zeising
Date: Thu Aug 20 21:27:01 2020
New Revision: 545563
URL: https://svnweb.freebsd.org/changeset/ports/545563
Log:
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
Added:
head/net/bird/files/patch-sysdep_unix_krt.h (contents, props changed)
Added: head/net/bird/files/patch-sysdep_unix_krt.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/bird/files/patch-sysdep_unix_krt.h Thu Aug 20 21:27:01 2020 (r545563)
@@ -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)
+
More information about the svn-ports-all
mailing list