summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-12-21 11:45:04 +0100
committerMichał Górny <mgorny@gentoo.org>2023-12-21 11:47:49 +0100
commitf5df70c470972483be366ff835191d1644fca984 (patch)
treeb5e4448c61a560034d35ebaac86c3cb9edb735bd /sys-fs/duperemove/files
parentsci-mathematics/z3: Remove old (diff)
downloadgentoo-f5df70c470972483be366ff835191d1644fca984.tar.gz
gentoo-f5df70c470972483be366ff835191d1644fca984.tar.bz2
gentoo-f5df70c470972483be366ff835191d1644fca984.zip
sys-fs/duperemove: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-fs/duperemove/files')
-rw-r--r--sys-fs/duperemove/files/duperemove-0.14-wformat-security.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/sys-fs/duperemove/files/duperemove-0.14-wformat-security.patch b/sys-fs/duperemove/files/duperemove-0.14-wformat-security.patch
deleted file mode 100644
index 43c946ca35fe..000000000000
--- a/sys-fs/duperemove/files/duperemove-0.14-wformat-security.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-https://github.com/markfasheh/duperemove/commit/5cbcc65254cf684b4281b278b5ee38c82d0a3ee5
-
-From 5cbcc65254cf684b4281b278b5ee38c82d0a3ee5 Mon Sep 17 00:00:00 2001
-From: Sergei Trofimovich <slyich@gmail.com>
-Date: Mon, 20 Nov 2023 21:09:58 +0000
-Subject: [PATCH] util.c: make debug helper `-Wformat-security`-clean
-
-Without the change `gcc-14` fails the build with `-Werror=format-security`
-as:
-
- util.c:340:25: error: format not a string literal and no format arguments [-Werror=format-security]
- 340 | fprintf(stream, buf);
- | ^~~
-
-It's a harmless warning as `UUID` has a well-defined set of characters.
-But `fputs()` expresses intent more directly to print the string as is.
---- a/util.c
-+++ b/util.c
-@@ -337,5 +337,5 @@ void debug_print_uuid(FILE *stream, uuid_t uuid)
- {
- char buf[37];
- uuid_unparse(uuid, buf);
-- fprintf(stream, buf);
-+ fputs(buf, stream);
- }