diff --git a/Fix-festival-gcc10.patch b/Fix-festival-gcc10.patch new file mode 100644 index 0000000..01d2478 --- /dev/null +++ b/Fix-festival-gcc10.patch @@ -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; diff --git a/festival.spec b/festival.spec index c7f2696..39e784d 100644 --- a/festival.spec +++ b/festival.spec @@ -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 - 1.96-44 +- Fix build error caused by GCC upgrade to GCC-10 + * Thu Nov 26 2020 Guoshuai Sun - 1.96-43 - install-info should be executed before the help package is uninstalled