From: Rosen Penev Date: Tue, 11 Aug 2020 19:25:58 +0000 (-0700) Subject: bird1: fix compilation with GCC 10 X-Git-Url: http://git.openwrt.org/?p=feed%2Frouting.git;a=commitdiff_plain;h=f0f0a892d81dfc3656b817f0a8d072ef0f482f2e bird1: fix compilation with GCC 10 Signed-off-by: Rosen Penev --- diff --git a/bird1/Makefile b/bird1/Makefile index 4e7542e..33df35f 100644 --- a/bird1/Makefile +++ b/bird1/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=bird1 PKG_VERSION:=1.6.8 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=bird-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=ftp://bird.network.cz/pub/bird diff --git a/bird1/patches/010-gcc10.patch b/bird1/patches/010-gcc10.patch new file mode 100644 index 0000000..beb4e03 --- /dev/null +++ b/bird1/patches/010-gcc10.patch @@ -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) +