svn commit: r545746 - branches/2020Q3/net/bird2/files
Niclas Zeising
zeising at FreeBSD.org
Sat Aug 22 08:32:21 UTC 2020
Author: zeising
Date: Sat Aug 22 08:32:20 2020
New Revision: 545746
URL: https://svnweb.freebsd.org/changeset/ports/545746
Log:
MFH: r545562
net/bird2: Fix build with -fno-common
Fix the build of net/bird2 when compiled with -fno-common, which is the
default with llvm 11.
Approved by: ports-secteam (joenum, implicit, -fno-common fixes)
Added:
branches/2020Q3/net/bird2/files/patch-nest_route.h
- copied unchanged from r545562, head/net/bird2/files/patch-nest_route.h
Modified:
Directory Properties:
branches/2020Q3/ (props changed)
Copied: branches/2020Q3/net/bird2/files/patch-nest_route.h (from r545562, head/net/bird2/files/patch-nest_route.h)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2020Q3/net/bird2/files/patch-nest_route.h Sat Aug 22 08:32:20 2020 (r545746, copy of r545562, head/net/bird2/files/patch-nest_route.h)
@@ -0,0 +1,11 @@
+--- nest/route.h.orig 2020-08-20 21:16:52 UTC
++++ nest/route.h
+@@ -458,7 +458,7 @@ typedef struct rta {
+ protocol-specific metric is availabe */
+
+
+-const char * rta_dest_names[RTD_MAX];
++extern const char * rta_dest_names[RTD_MAX];
+
+ static inline const char *rta_dest_name(uint n)
+ { return (n < RTD_MAX) ? rta_dest_names[n] : "???"; }
More information about the svn-ports-branches
mailing list