From 8fae1e7f5f513e360a57c777e341a270fd353c88 Mon Sep 17 00:00:00 2001 From: James Hilliard Date: Mon, 1 Jul 2024 23:55:54 -0600 Subject: [PATCH] package/libblockdev: fix patch fuzz Commit 8f88a644ed "support/scripts/apply-patches.sh: set the maximum fuzz factor to 0" reduced the fuzz factor. Due to this change, libblockdev fails to build with output: Applying 0001-Provide-replacement-function-for-strerror_l.patch using patch: patching file configure.ac patching file src/utils/module.c Hunk #1 FAILED at 28. This commit fixes the Provide replacement function for strerror_l() patch so that it applies. Fixes: http://autobuild.buildroot.net/results/df5/df54118cc7057ba8dd566515281b77c49a596a04 Signed-off-by: James Hilliard Signed-off-by: Arnout Vandecappelle --- .../0001-Provide-replacement-function-for-strerror_l.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch b/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch index f7f75c9c14..d073e16ac5 100644 --- a/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch +++ b/package/libblockdev/0001-Provide-replacement-function-for-strerror_l.patch @@ -41,8 +41,8 @@ index 6557c3ab..5893f0ac 100644 #include "logging.h" +#include "utils.h" - #define UNUSED __attribute__((unused)) + /** diff --git a/src/utils/utils.h b/src/utils/utils.h index 801a8b6e..b2bdf0d0 100644 --- a/src/utils/utils.h