Skip to content

Commit

Permalink
package/libblockdev: fix patch fuzz
Browse files Browse the repository at this point in the history
Commit 8f88a64 "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 <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
  • Loading branch information
jameshilliard authored and arnout committed Jul 2, 2024
1 parent cea0cf3 commit 8fae1e7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8fae1e7

Please sign in to comment.