[Buildroot] [PATCH 1/1] package/libgsm: update patches to be applied with fuzz 0
Yann E. MORIN
yann.morin.1998 at free.fr
Thu Jun 27 15:45:57 UTC 2024
Julien, All,
On 2024-06-27 16:59 +0200, Julien Olivain spake thusly:
> Commit 8f88a644ed "support/scripts/apply-patches.sh: set the maximum
> fuzz factor to 0" reduced the fuzz factor.
>
> Due to this change, libgsm fails to build with output:
>
> Applying 0001-misc-fixes-from-archlinux.patch using patch:
> patching file Makefile
> Hunk #2 FAILED at 96.
> Hunk #7 FAILED at 424.
> 2 out of 8 hunks FAILED -- saving rejects to file Makefile.rej
>
> This commit refreshes the package patch on the current package version.
>
> Fixes:
> - http://autobuild.buildroot.org/results/b27/b271ade6069fd25c1877e1e74648d92e88c459c4
>
> Signed-off-by: Julien Olivain <ju.o at free.fr>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> ...h => 0001-Misc-fixes-from-Archlinux.patch} | 21 +++++++++++--------
> 1 file changed, 12 insertions(+), 9 deletions(-)
> rename package/libgsm/{0001-misc-fixes-from-archlinux.patch => 0001-Misc-fixes-from-Archlinux.patch} (88%)
>
> diff --git a/package/libgsm/0001-misc-fixes-from-archlinux.patch b/package/libgsm/0001-Misc-fixes-from-Archlinux.patch
> similarity index 88%
> rename from package/libgsm/0001-misc-fixes-from-archlinux.patch
> rename to package/libgsm/0001-Misc-fixes-from-Archlinux.patch
> index 11c529b5097..6702a920aff 100644
> --- a/package/libgsm/0001-misc-fixes-from-archlinux.patch
> +++ b/package/libgsm/0001-Misc-fixes-from-Archlinux.patch
> @@ -1,4 +1,4 @@
> -From e8f43832d401ad1e071e6860b2bf4a1e796d4356 Mon Sep 17 00:00:00 2001
> +From ef88ee98855008cd8c8de807a12917a556e2ce7d Mon Sep 17 00:00:00 2001
> From: Adam Duskett <aduskett at gmail.com>
> Date: Fri, 28 Jul 2017 08:18:22 -0400
> Subject: [PATCH] Misc fixes from Archlinux
> @@ -11,12 +11,15 @@ Signed-off-by: Adam Duskett <aduskett at gmail.com>
> Refresh for 1.0.17
> [Fabrice: refresh for 1.0.22]
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> +Signed-off-by: Julien Olivain <ju.o at free.fr>
> +[Julien: regenerate with git format-patch for 1.0.22,
> +as Fabrice refresh is incomplete for applying with fuzz 0]
> ---
> - Makefile | 84 ++++++++++++++++++++++++++++++++--------------------------------
> - 1 file changed, 42 insertions(+), 42 deletions(-)
> + Makefile | 49 ++++++++++++++++++++++++-------------------------
> + 1 file changed, 24 insertions(+), 25 deletions(-)
>
> diff --git a/Makefile b/Makefile
> -index d5c0c90..ef61bd5 100644
> +index 2ad5e5d..2cb0b06 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -44,7 +44,7 @@ WAV49 = -DWAV49
> @@ -36,7 +39,7 @@ index d5c0c90..ef61bd5 100644
> +LN = ln -s -f
> BASENAME = basename
> AR = ar
> - ARFLAGS = cr
> + ARFLAGS = cr
> @@ -139,7 +139,7 @@ LFLAGS = $(LDFLAGS) $(LDINC)
>
> # Targets
> @@ -97,16 +100,16 @@ index d5c0c90..ef61bd5 100644
>
>
> # The local bin and lib directories
> -@@ -425,7 +425,7 @@ semi-clean:
> +@@ -425,7 +424,7 @@ semi-clean:
> -print | xargs rm $(RMFLAGS)
>
> clean: semi-clean
> - -rm $(RMFLAGS) $(LIBGSM) $(ADDTST)/add \
> + -rm $(RMFLAGS) $(LIBGSMSO)* $(ADDTST)/add \
> $(TOAST) $(TCAT) $(UNTOAST) \
> - $(ROOT)/gsm-1.0.tar.Z
> + $(ROOT)/gsm-1.0.tar.gz
>
> -@@ -473,22 +473,22 @@ $(ADDTST)/add: $(ADDTST)/add_test.o
> +@@ -473,22 +472,22 @@ $(ADDTST)/add: $(ADDTST)/add_test.o
> $(TST)/test-result: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/run
> ( cd $(TST); ./run )
>
> @@ -140,5 +143,5 @@ index d5c0c90..ef61bd5 100644
> - $(TST)/cod2lin.o $(LIBGSM) $(LDLIB)
> + $(TST)/cod2lin.o $(LIBGSMSO) $(LDLIB)
> --
> -2.13.3
> +2.45.2
>
> --
> 2.45.2
>
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list