[packages/speech_tools] - added no-common patch to fix build with gcc 10+

qboosh qboosh at pld-linux.org
Sat Apr 16 19:43:46 CEST 2022


commit 1e42006bf27dd99a5f29bafc45f6dfeb1af7f592
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Apr 16 19:43:55 2022 +0200

    - added no-common patch to fix build with gcc 10+

 speech_tools-no-common.patch | 10 ++++++++++
 speech_tools.spec            |  2 ++
 2 files changed, 12 insertions(+)
---
diff --git a/speech_tools.spec b/speech_tools.spec
index 2571929..da78633 100644
--- a/speech_tools.spec
+++ b/speech_tools.spec
@@ -12,6 +12,7 @@ Source0:	http://www.festvox.org/packed/festival/2.5/%{name}-%{version}-release.t
 Patch0:		%{name}-shared.patch
 Patch1:		%{name}-soname.patch
 Patch2:		%{name}-bin_printf.patch
+Patch3:		%{name}-no-common.patch
 Patch4:		%{name}-as-needed.patch
 Patch7:		%{name}-link.patch
 Patch8:		%{name}-pulse.patch
@@ -78,6 +79,7 @@ Programy użytkowe narzędzi mowy Edinburgh.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p0
+%patch3 -p1
 %patch4 -p1
 %patch7 -p1
 %patch8 -p1
diff --git a/speech_tools-no-common.patch b/speech_tools-no-common.patch
new file mode 100644
index 0000000..82197aa
--- /dev/null
+++ b/speech_tools-no-common.patch
@@ -0,0 +1,10 @@
+--- speech_tools/siod/editline.c.orig	2017-09-04 17:54:03.000000000 +0200
++++ speech_tools/siod/editline.c	2022-04-16 18:03:07.073034061 +0200
+@@ -73,7 +73,6 @@
+ /* modified by awb to allow specifcation of history size at run time  */
+ /* (though only once)                                                 */
+ int editline_histsize=256;
+-char *editline_history_file;
+ /* If this is defined it'll be called for completion first, before the */
+ /* internal file name completion will be                               */
+ EL_USER_COMPLETION_FUNCTION_TYPE*el_user_completion_function = NULL;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/speech_tools.git/commitdiff/1e42006bf27dd99a5f29bafc45f6dfeb1af7f592



More information about the pld-cvs-commit mailing list