From 3fb44cc367b47e9d3eb15eba5e77d624f709d60e Mon Sep 17 00:00:00 2001 From: Dario Binacchi Date: Tue, 2 Jul 2024 09:28:56 +0200 Subject: [PATCH] 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. Signed-off-by: Dario Binacchi Signed-off-by: Arnout Vandecappelle --- package/flite/0001-fix-alsa-static.patch | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/flite/0001-fix-alsa-static.patch b/package/flite/0001-fix-alsa-static.patch index 7ed4899cc4f7..83f0a86e4d14 100644 --- a/package/flite/0001-fix-alsa-static.patch +++ b/package/flite/0001-fix-alsa-static.patch @@ -1,12 +1,14 @@ Use pkg-config to determine alsa link flags. This fixes static linking. Signed-off-by: Baruch Siach +[Dario: make the patch to be applied with fuzz factor 0] +Signed-off-by: Dario Binacchi 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])