* [Buildroot] [PATCH 1/1] package/nushell: update the patches to be applied with fuzz 0
@ 2024-07-07 6:10 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 6:10 UTC (permalink / raw)
To: buildroot; +Cc: Dario Binacchi
Commit 8f88a644ed7d6 ("support/scripts/apply-patches.sh: set the maximum
fuzz factor to 0") reduced the fuzz factor.
Due to this change, nushell fails to build with output:
Applying 0001-uucore-add-support-for-sparc64.patch using patch:
patching file VENDOR/uucore/src/lib/features/fs.rs
Hunk #1 FAILED at 121.
Hunk #2 FAILED at 137.
2 out of 2 hunks FAILED -- saving rejects to file VENDOR/uucore/src/lib/features/fs.rs.rej
This commit refreshes the package patch on the current package version.
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
.../nushell/0001-uucore-add-support-for-sparc64.patch | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/package/nushell/0001-uucore-add-support-for-sparc64.patch b/package/nushell/0001-uucore-add-support-for-sparc64.patch
index 2cc05c172ede..ad7e70a56d63 100644
--- a/package/nushell/0001-uucore-add-support-for-sparc64.patch
+++ b/package/nushell/0001-uucore-add-support-for-sparc64.patch
@@ -28,6 +28,8 @@ Fixes:
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Upstream: https://github.com/uutils/coreutils/commit/d158f1a396d19cc2aed68131b80ec3b7325d108e
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
---
src/uucore/src/lib/features/fs.rs | 2 ++
1 file changed, 2 insertions(+)
@@ -36,16 +38,16 @@ diff --git a/VENDOR/uucore/src/lib/features/fs.rs b/VENDOR/uucore/src/lib/featur
index 20cc9e13d..3b9170bc3 100644
--- a/VENDOR/uucore/src/lib/features/fs.rs
+++ b/VENDOR/uucore/src/lib/features/fs.rs
-@@ -121,6 +121,7 @@ impl FileInformation {
- not(target_os = "solaris"),
+@@ -116,6 +116,7 @@
+ not(target_os = "freebsd"),
not(target_arch = "aarch64"),
not(target_arch = "riscv64"),
+ not(target_arch = "sparc64"),
target_pointer_width = "64"
))]
return self.0.st_nlink;
-@@ -137,6 +138,7 @@ impl FileInformation {
- target_os = "solaris",
+@@ -127,6 +128,7 @@
+ target_os = "freebsd",
target_arch = "aarch64",
target_arch = "riscv64",
+ target_arch = "sparc64",
--
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/nushell: update the patches to be applied with fuzz 0
2024-07-07 6:10 [Buildroot] [PATCH 1/1] package/nushell: 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: buildroot
On Sun, 7 Jul 2024 08:10:24 +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, nushell fails to build with output:
>
> Applying 0001-uucore-add-support-for-sparc64.patch using patch:
> patching file VENDOR/uucore/src/lib/features/fs.rs
> Hunk #1 FAILED at 121.
> Hunk #2 FAILED at 137.
> 2 out of 2 hunks FAILED -- saving rejects to file VENDOR/uucore/src/lib/features/fs.rs.rej
>
> This commit refreshes the package patch on the current package version.
>
> Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
> ---
> .../nushell/0001-uucore-add-support-for-sparc64.patch | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 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 6:10 [Buildroot] [PATCH 1/1] package/nushell: update the patches to be applied with fuzz 0 Dario Binacchi
2024-07-08 20:21 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox