SHA256
1
0
forked from pool/bird
bird/gcc10.patch
Martin Hauke 7792ee7ff9 Accepting request 833673 from home:dirkmueller:branches:network
- update to 2.0.2:
  o Integrated IPv4 + IPv6 design
  * many changes, see included NEWS for details
  * obsoletes separate bird6/bird-common subpackages
- remove bird-1.6.3_verbose.build.patch bufferoverflow.patch: obsolete
- add gcc10.patch (fix build with gcc 10), disable -fcommon again
- reenable fortify-source

OBS-URL: https://build.opensuse.org/request/show/833673
OBS-URL: https://build.opensuse.org/package/show/network/bird?expand=0&rev=12
2020-09-25 22:54:13 +00:00

16 lines
468 B
Diff

https://bird.network.cz/pipermail/bird-users/2020-February/014211.html
diff --git a/nest/route.h b/nest/route.h
index d2a07f09..b927db5f 100644
--- a/nest/route.h
+++ b/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] : "???"; }