All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/sane-backends: update the patches to be applied with fuzz 0
@ 2024-07-07 12:06 Dario Binacchi
  2024-07-08 20:21 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Dario Binacchi @ 2024-07-07 12:06 UTC (permalink / raw)
  To: buildroot; +Cc: Dario Binacchi, linux-amarula

Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.

Due to this change, sane-backends fails to build with output:

    Applying 0001-sane_backend-add-missing-config.h.patch using patch:
    patching file include/sane/sanei_backend.h
    Hunk #1 FAILED at 8.
    1 out of 1 hunk FAILED -- saving rejects to file include/sane/sanei_backend.h.rej

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

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
 .../0001-sane_backend-add-missing-config.h.patch            | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/package/sane-backends/0001-sane_backend-add-missing-config.h.patch b/package/sane-backends/0001-sane_backend-add-missing-config.h.patch
index 8e56b0284b5f..f3796933381e 100644
--- a/package/sane-backends/0001-sane_backend-add-missing-config.h.patch
+++ b/package/sane-backends/0001-sane_backend-add-missing-config.h.patch
@@ -28,6 +28,8 @@ Fixes:
 http://autobuild.buildroot.net/results/9f1/9f1f1cb727b5c5407e69172280a3dee880e55cdf
 
 Signed-off-by: Romain Naour <romain.naour@gmail.com>
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
 ---
  include/sane/sanei_backend.h | 1 +
  1 file changed, 1 insertion(+)
@@ -42,8 +44,8 @@ index 1b5afe2..2a96532 100644
  
 +#include "../include/sane/config.h"
  
- /*
-  * Compiler related options
+ /** @name Compatibility macros
+  * @{
 -- 
 2.5.5
 
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/sane-backends: update the patches to be applied with fuzz 0
  2024-07-07 12:06 [Buildroot] [PATCH 1/1] package/sane-backends: update the patches to be applied with fuzz 0 Dario Binacchi
@ 2024-07-08 20:21 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2024-07-08 20:21 UTC (permalink / raw)
  To: Dario Binacchi; +Cc: linux-amarula, buildroot

On Sun,  7 Jul 2024 14:06:50 +0200
Dario Binacchi <dario.binacchi@amarulasolutions.com> wrote:

> Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
> fuzz factor to 0") reduced the fuzz factor.
> 
> Due to this change, sane-backends fails to build with output:
> 
>     Applying 0001-sane_backend-add-missing-config.h.patch using patch:
>     patching file include/sane/sanei_backend.h
>     Hunk #1 FAILED at 8.
>     1 out of 1 hunk FAILED -- saving rejects to file include/sane/sanei_backend.h.rej
> 
> This commit refreshes the package patch on the current package version.
> 
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
>  .../0001-sane_backend-add-missing-config.h.patch            | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-08 20:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-07 12:06 [Buildroot] [PATCH 1/1] package/sane-backends: update the patches to be applied with fuzz 0 Dario Binacchi
2024-07-08 20:21 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.