Skip to contentSkip to conversation

package/freescale-imx/imx-kobs: update the patches to be applied with fuzz 0

PATCH Applied Dario Binacchi 2 participants 2 messages Jul 2, 2024 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/freescale-imx/imx-kobs: update the patches to be applied with fuzz 0

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

Due to this change, imx-kobs fails to build with output:

Applying 0001-Fix-musl-build.patch using patch:
patching file src/mtd.c
Hunk #1 FAILED at 31.
1 out of 1 hunk FAILED -- saving rejects to file src/mtd.c.rej

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

---
 package/freescale-imx/imx-kobs/0001-Fix-musl-build.patch | 3 +++
 1 file changed, 3 insertions(+)
package/freescale-imx/imx-kobs/0001-Fix-musl-build.patch +3 -0
index ce123de9cc49..373b34ffce0b 100644
@@ -1,6 +1,8 @@
 [PATCH] Fix musl build
 
 Signed-off-by: Gary Bisson <[email protected]>
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <[email protected]>
 ---
  src/mtd.c | 1 +
  src/mtd.h | 5 +++++
@@ -17,6 +19,7 @@ index 1edc441..6d2264c 100644
 +#include <stddef.h>
  #include <sys/types.h>
  #include <sys/ioctl.h>
+ #include <sys/utsname.h>
  
 diff --git a/src/mtd.h b/src/mtd.h
 index bd21add..debfc84 100644
Signature · 6 lines
2.43.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 5 lines · Dario Binacchi

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

Due to this change, imx-kobs fails to build with output:

Quoted 8 lines

Applying 0001-Fix-musl-build.patch using patch:
patching file src/mtd.c
Hunk #1 FAILED at 31.
1 out of 1 hunk FAILED -- saving rejects to file src/mtd.c.rej

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

Applied to master, thanks.

Regards,
Arnout

Quoted 18 lines
---
  package/freescale-imx/imx-kobs/0001-Fix-musl-build.patch | 3 +++
  1 file changed, 3 insertions(+)
package/freescale-imx/imx-kobs/0001-Fix-musl-build.patch +2 -0
index ce123de9cc49..373b34ffce0b 100644
@@ -1,6 +1,8 @@
  [PATCH] Fix musl build
 
  Signed-off-by: Gary Bisson <[email protected]>
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <[email protected]>
  ---
   src/mtd.c | 1 +
   src/mtd.h | 5 +++++

package/freescale-imx/imx-kobs/0001-Fix-musl-build.patch index 1edc441..6d2264c 100644 · line 25

Quoted 7 lines
package/freescale-imx/imx-kobs/0001-Fix-musl-build.patch +1 -0
@@ -17,6 +19,7 @@ index 1edc441..6d2264c 100644
  +#include <stddef.h>
   #include <sys/types.h>
   #include <sys/ioctl.h>
+ #include <sys/utsname.h>
 
  diff --git a/src/mtd.h b/src/mtd.h
  index bd21add..debfc84 100644

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot