mirror of
https://github.com/openwrt/routing.git
synced 2025-12-22 01:44:32 +04:00
bird1: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -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
|
||||||
|
|||||||
11
bird1/patches/010-gcc10.patch
Normal file
11
bird1/patches/010-gcc10.patch
Normal file
@@ -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)
|
||||||
|
|
||||||
Reference in New Issue
Block a user