diff options
author | David Seifert <soap@gentoo.org> | 2021-12-30 19:12:08 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-12-30 19:12:08 +0100 |
commit | a83ded83c6ef3e65901a7f41c726203b33aa7c2c (patch) | |
tree | 214fc8722cc62d4b8a5e31d6cb177513318338d7 /sys-libs/libcap/files/libcap-2.61-Wformat.patch | |
parent | profiles/arch/alpha: Unmask python3_10 on python-exec (diff) | |
download | gentoo-a83ded83c6ef3e65901a7f41c726203b33aa7c2c.tar.gz gentoo-a83ded83c6ef3e65901a7f41c726203b33aa7c2c.tar.bz2 gentoo-a83ded83c6ef3e65901a7f41c726203b33aa7c2c.zip |
sys-libs/libcap: drop 2.61
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sys-libs/libcap/files/libcap-2.61-Wformat.patch')
-rw-r--r-- | sys-libs/libcap/files/libcap-2.61-Wformat.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sys-libs/libcap/files/libcap-2.61-Wformat.patch b/sys-libs/libcap/files/libcap-2.61-Wformat.patch deleted file mode 100644 index e0046de58770..000000000000 --- a/sys-libs/libcap/files/libcap-2.61-Wformat.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 9fd3e7ac5870f84c73ac777d9a14480227ad7f00 Mon Sep 17 00:00:00 2001 -From: David Seifert <soap@gentoo.org> -Date: Sun, 28 Nov 2021 14:14:42 +0100 -Subject: [PATCH] Fix `-Wformat` on 32-bit platforms - ---- - libcap/cap_test.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libcap/cap_test.c b/libcap/cap_test.c -index b7fb2c5..39df261 100644 ---- a/libcap/cap_test.c -+++ b/libcap/cap_test.c -@@ -124,7 +124,7 @@ static int test_short_bits(void) - } - if (strlen(tmp) > __CAP_NAME_SIZE) { - printf("cap_to_text buffer size reservation needs fixing (%ld > %d)\n", -- strlen(tmp), __CAP_NAME_SIZE); -+ (long int)strlen(tmp), __CAP_NAME_SIZE); - result = -1; - } - free(tmp); --- -2.34.1 - |