SwordArMor-gentoo-overlay/net-misc/bird/files/bird-2.0.7-gcc10.patch
Alarig Le Lay e2f647cdcf
net-misc/bird: rsync from ::gentoo
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2021-04-10 11:09:56 +02:00

13 lines
460 B
Diff

diff -ruN bird-2.0.7.orig/nest/route.h bird-2.0.7/nest/route.h
--- bird-2.0.7.orig/nest/route.h 2019-10-16 13:45:52.000000000 +0300
+++ bird-2.0.7/nest/route.h 2020-11-01 02:59:41.199775491 +0200
@@ -458,7 +458,7 @@
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] : "???"; }