Skip to content

Commit

Permalink
package/libnfs: update the patches to be applied with fuzz 0
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, libnfs fails to build with output:

    Applying 0001-Fix-include-sys-time.h.patch using patch:
    patching file include/nfsc/libnfs.h
    Hunk #1 FAILED at 24.
    1 out of 1 hunk FAILED -- saving rejects to file include/nfsc/libnfs.h.rej

This commit refreshes the package patch on the current package version.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
  • Loading branch information
passgat authored and arnout committed Jul 2, 2024
1 parent 31135a0 commit 328721a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package/libnfs/0001-Fix-include-sys-time.h.patch
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ Upstream: https://github.com/sahlberg/libnfs/issues/272
Signed-off-by: Jörg Krause <[email protected]>
[Fabrice: update for 5.0.2]
Signed-off-by: Fabrice Fontaine <[email protected]>
[Dario: make the patch to be applied with fuzz factor 0]
Signed-off-by: Dario Binacchi <[email protected]>
---
include/nfsc/libnfs.h | 5 -----
1 file changed, 5 deletions(-)
Expand All @@ -24,8 +26,8 @@ diff --git a/include/nfsc/libnfs.h b/include/nfsc/libnfs.h
index 09dcf1c..b6db58c 100755
--- a/include/nfsc/libnfs.h
+++ b/include/nfsc/libnfs.h
@@ -24,12 +24,7 @@
#define _LIBNFS_H_
@@ -28,12 +28,7 @@
#endif

#include <stdint.h>
-#if defined(__ANDROID__) || defined(AROS) || defined(__PPU__) \
Expand Down

0 comments on commit 328721a

Please sign in to comment.