[v2] package/libhid: update the patches to be applied with fuzz 0

Message ID 20240702192941.2480257-1-dario.binacchi@amarulasolutions.com
State New
Headers show
Series
  • [v2] package/libhid: update the patches to be applied with fuzz 0
Related show

Commit Message

Dario Binacchi July 2, 2024, 7:29 p.m. UTC
Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.

Due to this change, libhid fails to build with output:

    Applying 0003-uclinux.patch using patch:
    patching file configure.ac
    Hunk #1 FAILED at 80.
    1 out of 1 hunk FAILED -- saving rejects to file configure.ac.rej

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

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
Changes v1 -> v2:
 - Add Signed-off-by tag to the modified patch.

 package/libhid/0003-uclinux.patch | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Patch

diff --git a/package/libhid/0003-uclinux.patch b/package/libhid/0003-uclinux.patch
index cb3c45216a09..9f4502ada931 100644
--- a/package/libhid/0003-uclinux.patch
+++ b/package/libhid/0003-uclinux.patch
@@ -1,13 +1,15 @@ 
 Good old 'uclinux is also linux'
 
 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
 
 diff -Nura libhid-0.2.16.orig/configure.ac libhid-0.2.16/configure.ac
 --- libhid-0.2.16.orig/configure.ac	2014-06-22 09:35:50.277261742 -0300
 +++ libhid-0.2.16/configure.ac	2014-06-22 09:36:10.688951947 -0300
-@@ -80,6 +80,7 @@
+@@ -79,6 +79,7 @@
+ AC_C_STRINGIZE
  
- MD_CONF_DEBUGGING
  MD_CONF_COMPILER
 +AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "uclinux")
  AM_CONDITIONAL(OS_LINUX, test "$MD_OS" = "linux")