fix failure caused by GCC upgrade to GCC-10
This commit is contained in:
parent
683727aaa0
commit
cf952e2781
13
Fix-festival-gcc10.patch
Normal file
13
Fix-festival-gcc10.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/speech_tools/siod/editline.c b/speech_tools/siod/editline.c
|
||||
index df043be..394d767 100644
|
||||
--- a/speech_tools/siod/editline.c
|
||||
+++ b/speech_tools/siod/editline.c
|
||||
@@ -73,7 +73,7 @@
|
||||
/* modified by awb to allow specifcation of history size at run time */
|
||||
/* (though only once) */
|
||||
int editline_histsize=256;
|
||||
-char *editline_history_file;
|
||||
+extern 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;
|
||||
@ -1,6 +1,6 @@
|
||||
Name: festival
|
||||
Version: 1.96
|
||||
Release: 43
|
||||
Release: 44
|
||||
Summary: Festival Speech Synthesis System
|
||||
License: MIT and GPL+ and TCL
|
||||
URL: http://www.cstr.ed.ac.uk/projects/festival/
|
||||
@ -53,6 +53,7 @@ Patch96: festival.gcc47.patch
|
||||
Patch97: no-shared-data.patch
|
||||
Patch98: festival-1.96-server-script-typo.patch
|
||||
Patch99: festival-gcc7.patch
|
||||
Patch100: Fix-festival-gcc10.patch
|
||||
|
||||
BuildRequires: gcc gcc-c++ pulseaudio-libs-devel texi2html ncurses-devel
|
||||
Requires(post): /sbin/ldconfig
|
||||
@ -164,6 +165,7 @@ done
|
||||
%patch97 -p1
|
||||
%patch98
|
||||
%patch99 -p1
|
||||
%patch100 -p1
|
||||
|
||||
rm festdoc-%{docversion}/speech_tools/doc/index_html.jade
|
||||
rm festdoc-%{docversion}/speech_tools/doc/tex_stuff.jade
|
||||
@ -347,6 +349,9 @@ fi
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Tue Aug 03 2021 wangyong <wangyong187@huawei.com> - 1.96-44
|
||||
- Fix build error caused by GCC upgrade to GCC-10
|
||||
|
||||
* Thu Nov 26 2020 Guoshuai Sun <sunguoshuai@huawei.com> - 1.96-43
|
||||
- install-info should be executed before the help package is uninstalled
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user