svn commit: r545562 - head/net/bird2/files

Niclas Zeising zeising at FreeBSD.org
Thu Aug 20 21:21:21 UTC 2020


Author: zeising
Date: Thu Aug 20 21:21:20 2020
New Revision: 545562
URL: https://svnweb.freebsd.org/changeset/ports/545562

Log:
  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.
  
  MFH:		2020Q3

Added:
  head/net/bird2/files/patch-nest_route.h   (contents, props changed)

Added: head/net/bird2/files/patch-nest_route.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/bird2/files/patch-nest_route.h	Thu Aug 20 21:21:20 2020	(r545562)
@@ -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-head mailing list