From b389d0efee6fe06b16ef4d39d5f325dcbd3e4bb1 Mon Sep 17 00:00:00 2001 From: Klara Modin Date: Sun, 23 Apr 2023 17:54:30 +0200 Subject: [PATCH] bird: update to 2.13 - drop patch for failing tests, not needed anymore - upstream changed versioning --- srcpkgs/bird/patches/fix-tests-musl.patch | 25 ----------------------- srcpkgs/bird/template | 4 ++-- 2 files changed, 2 insertions(+), 27 deletions(-) delete mode 100644 srcpkgs/bird/patches/fix-tests-musl.patch diff --git a/srcpkgs/bird/patches/fix-tests-musl.patch b/srcpkgs/bird/patches/fix-tests-musl.patch deleted file mode 100644 index 55403f6e75ee..000000000000 --- a/srcpkgs/bird/patches/fix-tests-musl.patch +++ /dev/null @@ -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"); diff --git a/srcpkgs/bird/template b/srcpkgs/bird/template index 715f961da8a2..822ad73cf48a 100644 --- a/srcpkgs/bird/template +++ b/srcpkgs/bird/template @@ -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"