Date: Thu, 20 Aug 2020 21:21:20 +0000 (UTC) From: Niclas Zeising <zeising@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r545562 - head/net/bird2/files Message-ID: <202008202121.07KLLKRr057619@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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] : "???"; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008202121.07KLLKRr057619>