From d934827bf44b7cfcf6711964418148fa60877668 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Nov 2020 22:39:15 +0000 Subject: gentoo resync : 25.11.2020 --- net-misc/bird/files/bird-2.0.7-gcc10.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 net-misc/bird/files/bird-2.0.7-gcc10.patch (limited to 'net-misc/bird/files') diff --git a/net-misc/bird/files/bird-2.0.7-gcc10.patch b/net-misc/bird/files/bird-2.0.7-gcc10.patch new file mode 100644 index 000000000000..5ba3fdaef343 --- /dev/null +++ b/net-misc/bird/files/bird-2.0.7-gcc10.patch @@ -0,0 +1,12 @@ +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] : "???"; } -- cgit v1.2.3