Skip to contentSkip to conversation

package/flite: update the patches to be applied with fuzz 0

PATCH Applied Dario Binacchi 2 participants 2 messages Jul 2, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/flite: 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, flite fails to build with output:

Applying 0001-fix-alsa-static.patch using patch:
patching file configure.in
Hunk #1 FAILED at 275.
1 out of 1 hunk FAILED -- saving rejects to file configure.in.rej

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

---
 package/flite/0001-fix-alsa-static.patch | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
package/flite/0001-fix-alsa-static.patch +4 -2
index 7ed4899cc4f7..83f0a86e4d14 100644
@@ -1,12 +1,14 @@
 Use pkg-config to determine alsa link flags. This fixes static linking.
 
 Signed-off-by: Baruch Siach <[email protected]>
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <[email protected]>
 
 diff -Nuar flite-1.4-release.orig/configure.in flite-1.4-release/configure.in
 --- flite-1.4-release.orig/configure.in	2009-08-14 23:46:38.000000000 +0300
 +++ flite-1.4-release/configure.in	2014-04-30 18:52:33.253297236 +0300
-@@ -275,7 +275,10 @@
-                 #endif],
+@@ -383,7 +383,10 @@ AC_CHECK_HEADER(sys/audioio.h,
+ AC_CHECK_HEADER(alsa/asoundlib.h,
                [AUDIODRIVER="alsa"
  	       AUDIODEFS=-DCST_AUDIO_ALSA
 -               AUDIOLIBS=-lasound])
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, flite fails to build with output:

Quoted 8 lines

Applying 0001-fix-alsa-static.patch using patch:
patching file configure.in
Hunk #1 FAILED at 275.
1 out of 1 hunk FAILED -- saving rejects to file configure.in.rej

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

Applied to master, thanks.

Regards,
Arnout

Quoted 15 lines
---
  package/flite/0001-fix-alsa-static.patch | 6 ++++--
  1 file changed, 4 insertions(+), 2 deletions(-)
package/flite/0001-fix-alsa-static.patch +2 -0
index 7ed4899cc4f7..83f0a86e4d14 100644
@@ -1,12 +1,14 @@
  Use pkg-config to determine alsa link flags. This fixes static linking.
 
  Signed-off-by: Baruch Siach <[email protected]>
+[Dario: make the patch to be applied with fuzz factor 0]
+Signed-off-by: Dario Binacchi <[email protected]>
 

package/flite/0001-fix-alsa-static.patch line 14

Quoted 10 lines
package/flite/0001-fix-alsa-static.patch +2 -2
  diff -Nuar flite-1.4-release.orig/configure.in flite-1.4-release/configure.in
  --- flite-1.4-release.orig/configure.in	2009-08-14 23:46:38.000000000 +0300
  +++ flite-1.4-release/configure.in	2014-04-30 18:52:33.253297236 +0300
-@@ -275,7 +275,10 @@
-                 #endif],
+@@ -383,7 +383,10 @@ AC_CHECK_HEADER(sys/audioio.h,
+ AC_CHECK_HEADER(alsa/asoundlib.h,
                 [AUDIODRIVER="alsa"
   	       AUDIODEFS=-DCST_AUDIO_ALSA
  -               AUDIOLIBS=-lasound])

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