New version

Resolves: rhbz#1778315
This commit is contained in:
Ondřej Lysoněk 2020-01-27 18:30:36 +01:00
parent f84882c945
commit 02d1f00086
4 changed files with 36 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/1.49.1.tar.gz /1.49.1.tar.gz
/1.49.2.tar.gz /1.49.2.tar.gz
/1.50.tar.gz

View File

@ -0,0 +1,25 @@
From e11cd42b03d1628f7a0cf45c9406123282e25c63 Mon Sep 17 00:00:00 2001
From: "Reece H. Dunn" <msclrhd@gmail.com>
Date: Thu, 9 Jan 2020 21:11:42 +0000
Subject: [PATCH] fix #699: avoid samplerate clashing with LTO in gcc 10.
---
src/espeak-ng.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/espeak-ng.c b/src/espeak-ng.c
index 10b8a887..3a7838cf 100644
--- a/src/espeak-ng.c
+++ b/src/espeak-ng.c
@@ -117,7 +117,7 @@ static const char *help_text =
"--load Load voice from a file in current directory by name.\n"
"-h, --help Show this help.\n";
-int samplerate;
+static int samplerate;
bool quiet = false;
unsigned int samples_total = 0;
unsigned int samples_split = 0;
--
2.20.1

View File

@ -1,6 +1,6 @@
Name: espeak-ng Name: espeak-ng
Version: 1.49.2 Version: 1.50
Release: 7%{?dist} Release: 1%{?dist}
Summary: eSpeak NG Text-to-Speech Summary: eSpeak NG Text-to-Speech
License: GPLv3+ License: GPLv3+
@ -11,6 +11,8 @@ BuildRequires: gcc make autoconf automake libtool pkgconfig
BuildRequires: rubygem-ronn rubygem-kramdown BuildRequires: rubygem-ronn rubygem-kramdown
BuildRequires: pcaudiolib-devel BuildRequires: pcaudiolib-devel
Patch0: 0001-fix-699-avoid-samplerate-clashing-with-LTO-in-gcc-10.patch
%description %description
The eSpeak NG (Next Generation) Text-to-Speech program is an open source speech The eSpeak NG (Next Generation) Text-to-Speech program is an open source speech
synthesizer that supports over 70 languages. It is based on the eSpeak engine synthesizer that supports over 70 languages. It is based on the eSpeak engine
@ -42,7 +44,7 @@ Requires: %{name} = %{version}-%{release}
Documentation for eSpeak NG, a software speech synthesizer. Documentation for eSpeak NG, a software speech synthesizer.
%prep %prep
%autosetup %autosetup -p1
# Remove unused files to make sure we've got the License tag right # Remove unused files to make sure we've got the License tag right
rm -rf src/include/compat/endian.h src/compat/getopt.c android/ rm -rf src/include/compat/endian.h src/compat/getopt.c android/
@ -96,6 +98,10 @@ ESPEAK_DATA_PATH=`pwd` LD_LIBRARY_PATH=src:${LD_LIBRARY_PATH} src/espeak-ng ...
%doc docs/*.html %doc docs/*.html
%changelog %changelog
* Mon Jan 27 2020 Ondřej Lysoněk <olysonek@redhat.com> - 1.50-1
- New version
- Resolves: rhbz#1778315
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.49.2-7 * Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.49.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (1.49.2.tar.gz) = 86096bf99b3aa16eb7b00cd1563f4af30e10f65f8014dcb05b255736a98dab4984e6cc4afc74792baed4a4d2971efdc5ced901867daa48f1204897dbc8e3e8c3 SHA512 (1.50.tar.gz) = 297dd80a6cdae3e2b8acf6823475220ce89d6a5fb68ea303156ad52cb3e7388049b6921759d4ed4e3d2e2ebd19bf931259e454f74a2ac0b7ecf4ce56c1d60c0c