aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bird/bird-gcc10-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/bird/bird-gcc10-fix.patch')
-rw-r--r--testing/bird/bird-gcc10-fix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/bird/bird-gcc10-fix.patch b/testing/bird/bird-gcc10-fix.patch
new file mode 100644
index 0000000000..313a437496
--- /dev/null
+++ b/testing/bird/bird-gcc10-fix.patch
@@ -0,0 +1,15 @@
+upstream commit: https://gitlab.nic.cz/labs/bird/-/commit/4bbc10614f3431c37e6352f5a6ea5c693c31021e
+
+diff --git a/nest/route.h b/nest/route.h
+index d2a07f09741bf0e1714e8c02f49df6ffbbf03135..b927db5f634ecfa8120b54529b54782000b01c3d 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] : "???"; }