bird1: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
8f9aa112b5
commit
f0f0a892d8
|
@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=bird1
|
PKG_NAME:=bird1
|
||||||
PKG_VERSION:=1.6.8
|
PKG_VERSION:=1.6.8
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=bird-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=bird-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=ftp://bird.network.cz/pub/bird
|
PKG_SOURCE_URL:=ftp://bird.network.cz/pub/bird
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
--- a/sysdep/unix/krt.h
|
||||||
|
+++ b/sysdep/unix/krt.h
|
||||||
|
@@ -112,7 +112,7 @@ struct kif_proto {
|
||||||
|
struct kif_state sys; /* Sysdep state */
|
||||||
|
};
|
||||||
|
|
||||||
|
-struct kif_proto *kif_proto;
|
||||||
|
+extern struct kif_proto *kif_proto;
|
||||||
|
|
||||||
|
#define KIF_CF ((struct kif_config *)p->p.cf)
|
||||||
|
|
Loading…
Reference in New Issue