update to version 1.51

This commit is contained in:
wang--ge 2023-10-19 11:07:42 +08:00
parent f685aebf2f
commit 78e75be7d1
3 changed files with 9 additions and 17 deletions

View File

@ -1,12 +1,12 @@
Name: espeak-ng
Version: 1.49.2
Release: 7
Version: 1.51
Release: 1
Summary: eSpeak NG is an open source speech synthesizer
License: GPLv3+ and Apache-2.0
License: GPLv3+ and Apache-2.0 and BSD-2-Clause
URL: https://github.com/espeak-ng/espeak-ng
Source0: https://github.com/espeak-ng/espeak-ng/archive/%{version}.tar.gz
Patch0: gcc-10.patch
Source0: https://github.com/espeak-ng/espeak-ng/archive/%{name}-%{version}.tar.gz
BuildRequires: make autoconf automake libtool pkgconfig rubygem-ronn-ng rubygem-kramdown pcaudiolib-devel
BuildRequires: gcc-c++
Provides: espeak-ng-vim = %{version}-%{release}
Obsoletes: espeak-ng-vim < %{version}-%{release}
@ -52,7 +52,7 @@ ESPEAK_DATA_PATH=`pwd` LD_LIBRARY_PATH=src:${LD_LIBRARY_PATH} src/espeak-ng ...
/sbin/ldconfig
%files
%doc COPYING COPYING.IEEE README.md CHANGELOG.md
%doc COPYING COPYING.APACHE COPYING.BSD2 README.md CHANGELOG.md
%{_bindir}/{speak-ng,espeak-ng}
%{_libdir}/libespeak-ng.so.*
%{_datadir}/espeak-ng-data
@ -74,6 +74,9 @@ ESPEAK_DATA_PATH=`pwd` LD_LIBRARY_PATH=src:${LD_LIBRARY_PATH} src/espeak-ng ...
%{_mandir}/man1/{speak-ng.1.gz,espeak-ng.1.gz}
%changelog
* Thu Oct 19 2023 Ge Wang <wang__ge@126.com> - 1.51-1
- Update to version 1.51
* Tue Aug 03 2021 liping <liping136@huawei.com> - 1.49.2-7
- fix by upgrade to GCC-10

View File

@ -1,11 +0,0 @@
--- a/src/espeak-ng.c 2021-08-03 20:34:16.970088987 +0800
+++ b/src/espeak-ng.c 2021-08-03 20:34:06.581921729 +0800
@@ -115,7 +115,7 @@ static const char *help_text =
"\t If <language> is omitted, then list all voices.\n"
"-h, --help Show this help.\n";
-int samplerate;
+static int samplerate;
int quiet = 0;
unsigned int samples_total = 0;
unsigned int samples_split = 0;