diff options
Diffstat (limited to 'net-misc/bird')
-rw-r--r-- | net-misc/bird/Manifest | 3 | ||||
-rw-r--r-- | net-misc/bird/bird-2.0.7.ebuild | 4 | ||||
-rw-r--r-- | net-misc/bird/files/bird-2.0.7-gcc10.patch | 12 |
3 files changed, 18 insertions, 1 deletions
diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest index 4c786b880232..38e40d3e410b 100644 --- a/net-misc/bird/Manifest +++ b/net-misc/bird/Manifest @@ -1,4 +1,5 @@ +AUX bird-2.0.7-gcc10.patch 460 BLAKE2B fda9c1ce155d1d4842fec83ede52847fe895ea406cf3d6b715ea2bea01843604cfd6c2957f6d64847d8d73f21a9d952f8af07d78e7261c585643b7c33727f107 SHA512 84a187e4dc0c48efb9b8e0248dae90669c93abbc2d26b58a1f197420100a69806f80650ac90e064947984d7b1a2f9c5598ffd021a97bee10420b4c61d9cf75c0 AUX initd-bird-2 1169 BLAKE2B 399481b20099d54f4a4f0cbffa2d9d080f090e15fa1bb9e0613469d94a895fcff3708983defe6d9be181f11ad18598e7e36d411cfc8e07b59c78a74890b5c1c3 SHA512 42224f1ac8ac53be1e0f2d30ecba0fa9ac491494bb6b6147940455538623082f4111731463daec15cbc7c10a90c440d36e27eaab1193f9385488ab6683e15f55 DIST bird-2.0.7.tar.gz 1993395 BLAKE2B ceb88d811d254e57e089ef4b4e1e4f34fd96d4622d9f5563cc8694323c060e99d6cdfccfeb5d8c885b9431dc71e96d5cc04e4344901a7c7d899f4249e7503720 SHA512 48ca63be923285dd282e80d7e2b240256953fd7ad4f6eaa5dcba2648f3f148be20198bc8c6e7e888aac1588ecb005a4f4c03e979853e76ea6f8680643a874b35 -EBUILD bird-2.0.7.ebuild 764 BLAKE2B 275d827d7462d6b8e8ab027beb275aed312f4eaeb78795ef40364772d4b050dd58f6f9bc35e943c2baf8a87e3b9e955ec90dccb1bb9ffb2c183f193db31a669c SHA512 22528e9a12ca25d83c6231d15b4b16cefa84a3833a7d66726f3cae4208fa99134cab438bec6317e695a21fcbf20f968bcc74c0c6600f27e33ee701b57c0764e7 +EBUILD bird-2.0.7.ebuild 809 BLAKE2B e5fe5d1bc763c46d9249d87460112134f108fa92aa05b7b4c7e6715fe4695beaf0d00de044432e79534647ef9340b5a95326b5b837c2332b55cf4071bc0577e5 SHA512 31c7e720b065945f46a1d9ffd704bb31164d1f886e03d518abad23bc15deed66a923b5ceac1f3da21f9d7e806182783306b71dc27244bf4f0a2fa639948c05bc MISC metadata.xml 334 BLAKE2B c53abae724868a2a1e8ac40f84d7c35371a26c74d790975c0a73bb1df914e9d8bd9f6c541657b065f863e8837fae9168144a0d552d30debe9f7e63fcdf703078 SHA512 8bcd99ebbcb563836b5c63f61079594bb27dfb1ed0e35955e4a0a6faba02b82751ba6e58b1324b56bd8fd30799c8c75ba5f442c1e602efa905835ec2d8569330 diff --git a/net-misc/bird/bird-2.0.7.ebuild b/net-misc/bird/bird-2.0.7.ebuild index edc17f5b33c7..d2f563e29758 100644 --- a/net-misc/bird/bird-2.0.7.ebuild +++ b/net-misc/bird/bird-2.0.7.ebuild @@ -18,6 +18,10 @@ DEPEND="sys-devel/flex sys-devel/bison sys-devel/m4" +PATCHES=( + "${FILESDIR}/${P}-gcc10.patch" +) + src_configure() { econf \ --localstatedir="${EPREFIX}/var" \ diff --git a/net-misc/bird/files/bird-2.0.7-gcc10.patch b/net-misc/bird/files/bird-2.0.7-gcc10.patch new file mode 100644 index 000000000000..5ba3fdaef343 --- /dev/null +++ b/net-misc/bird/files/bird-2.0.7-gcc10.patch @@ -0,0 +1,12 @@ +diff -ruN bird-2.0.7.orig/nest/route.h bird-2.0.7/nest/route.h +--- bird-2.0.7.orig/nest/route.h 2019-10-16 13:45:52.000000000 +0300 ++++ bird-2.0.7/nest/route.h 2020-11-01 02:59:41.199775491 +0200 +@@ -458,7 +458,7 @@ + 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] : "???"; } |