Skip to content

Commit

Permalink
package/flite: update the patches to be applied with fuzz 0
Browse files Browse the repository at this point in the history
Commit 8f88a64 ("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.

Signed-off-by: Dario Binacchi <[email protected]>
Signed-off-by: Arnout Vandecappelle <[email protected]>
  • Loading branch information
passgat authored and arnout committed Jul 2, 2024
1 parent b2c5c60 commit 3fb44cc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package/flite/0001-fix-alsa-static.patch
Original file line number Diff line number Diff line change
@@ -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])
Expand Down

0 comments on commit 3fb44cc

Please sign in to comment.