bird: update to 2.13

- drop patch for failing tests, not needed anymore
- upstream changed versioning
This commit is contained in:
Klara Modin 2023-04-23 17:54:30 +02:00 committed by Andrew Benson
parent 8e82925245
commit c1e2b1097a
2 changed files with 2 additions and 27 deletions

View File

@ -1,25 +0,0 @@
--- a/lib/printf_test.c
+++ b/lib/printf_test.c
@@ -22,6 +22,7 @@ static int
t_simple(void)
{
char buf[256];
+ const char *errormsg;
memset(buf, 0xa5, 256);
BSPRINTF(0, "", buf, "", NULL);
@@ -32,11 +33,12 @@ t_simple(void)
BSPRINTF(1, "@", buf, "@", 64);
BSPRINTF(1, "\xff", buf, "%c", 0xff);
- errno = 5;
- BSPRINTF(18, "Input/output error", buf, "%m");
+ errormsg = strerror(EIO);
+ errno = EIO;
+ BSPRINTF(strlen(errormsg), errormsg, buf, "%m");
errno = 0;
- BSPRINTF(18, "Input/output error", buf, "%M", 5);
+ BSPRINTF(strlen(errormsg), errormsg, buf, "%M", EIO);
BSPRINTF(11, "TeSt%StRiNg", buf, "%s", "TeSt%StRiNg");

View File

@ -1,6 +1,6 @@
# Template file for 'bird'
pkgname=bird
version=2.0.12
version=2.13
revision=1
build_style=gnu-configure
hostmakedepends="flex"
@ -11,7 +11,7 @@ license="GPL-2.0-or-later"
homepage="https://bird.network.cz"
changelog="https://gitlab.nic.cz/labs/bird/-/raw/master/NEWS"
distfiles="https://bird.network.cz/download/bird-${version}.tar.gz"
checksum=3ec462a237d06d1f4455d6ec00a42f0b1686061fc988e5c89a841d01dd753b53
checksum=8d895e3e311880e9efb888b4386cbec2f7e18bfb8334e8d4c8ca7c4341092638
conf_files="/etc/bird.conf"
system_accounts="_bird"