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

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

Commit Message

Dario Binacchi July 2, 2024, 7:23 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>
---
 package/libhid/0003-uclinux.patch | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

'Jan Kiszka' via Amarula Linux July 2, 2024, 7:43 p.m. UTC | #1
On 02/07/2024 21:23, Dario Binacchi wrote:
> 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>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/libhid/0003-uclinux.patch | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/package/libhid/0003-uclinux.patch b/package/libhid/0003-uclinux.patch
> index cb3c45216a09..a81c3dc0a1fa 100644
> --- a/package/libhid/0003-uclinux.patch
> +++ b/package/libhid/0003-uclinux.patch
> @@ -5,9 +5,9 @@ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
>   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")

To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.

Patch

diff --git a/package/libhid/0003-uclinux.patch b/package/libhid/0003-uclinux.patch
index cb3c45216a09..a81c3dc0a1fa 100644
--- a/package/libhid/0003-uclinux.patch
+++ b/package/libhid/0003-uclinux.patch
@@ -5,9 +5,9 @@  Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 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")