Merge pull request #592 from neheb/bird1
bird1: fix compilation with GCC 10
This commit is contained in:
commit
ef0fe62653
2 changed files with 12 additions and 1 deletions
|
@ -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
|
||||
|
|
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)
|
||||
|
Loading…
Reference in a new issue