diff options
author | Fusl <root@hallowe.lt> | 2018-02-16 06:48:08 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-02-27 17:46:03 +0000 |
commit | 61818fd63b50c0c30c320b6e7624184120b42b7e (patch) | |
tree | 5001c1197ea901aecc262d0ff3fea5a96375a202 /testing/bird/bird-make-test-bsprintf.patch | |
parent | 0211a7b11bf19bdb0d5a4b5f9d5cd785c290ea6f (diff) | |
download | aports-61818fd63b50c0c30c320b6e7624184120b42b7e.tar.bz2 aports-61818fd63b50c0c30c320b6e7624184120b42b7e.tar.xz |
testing/bird: upgrade to 2.0.1
Diffstat (limited to 'testing/bird/bird-make-test-bsprintf.patch')
-rw-r--r-- | testing/bird/bird-make-test-bsprintf.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/bird/bird-make-test-bsprintf.patch b/testing/bird/bird-make-test-bsprintf.patch new file mode 100644 index 0000000000..d42027c374 --- /dev/null +++ b/testing/bird/bird-make-test-bsprintf.patch @@ -0,0 +1,20 @@ +diff -urp a/lib/printf_test.c b/lib/printf_test.c +--- a/lib/printf_test.c 1970-01-01 00:00:00.000000000 +0000 ++++ b/lib/printf_test.c 1970-01-01 00:00:00.000000000 +0000 +@@ -33,10 +33,14 @@ t_simple(void) + BSPRINTF(1, "\xff", buf, "%c", 0xff); + + errno = 5; +- BSPRINTF(18, "Input/output error", buf, "%m"); ++ // glibc returns "Input/output error" while musl-libc returns "I/O error" ++ //BSPRINTF(18, "Input/output error", buf, "%m"); ++ BSPRINTF(9, "I/O error", buf, "%m"); + errno = 0; + +- BSPRINTF(18, "Input/output error", buf, "%M", 5); ++ // glibc returns "Input/output error" while musl-libc returns "I/O error" ++ //BSPRINTF(18, "Input/output error", buf, "%M", 5); ++ BSPRINTF(9, "I/O error", buf, "%M", 5); + + BSPRINTF(11, "TeSt%StRiNg", buf, "%s", "TeSt%StRiNg"); + |