Hello community,

here is the log from the commit of package espeak-ng for openSUSE:Factory 
checked in at 2020-01-12 23:17:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/espeak-ng (Old)
 and      /work/SRC/openSUSE:Factory/.espeak-ng.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "espeak-ng"

Sun Jan 12 23:17:52 2020 rev:7 rq:762568 version:1.50

Changes:
--------
--- /work/SRC/openSUSE:Factory/espeak-ng/espeak-ng.changes      2019-12-03 
12:40:51.574158084 +0100
+++ /work/SRC/openSUSE:Factory/.espeak-ng.new.6675/espeak-ng.changes    
2020-01-12 23:18:19.182681555 +0100
@@ -1,0 +2,6 @@
+Thu Jan  9 21:35:09 UTC 2020 - Luigi Baldoni <aloi...@gmx.com>
+
+- Added espeak-ng-1.50-fix_gcc10_no_common.patch and
+  espeak-ng-1.50-fix_gcc10_no_common_2.patch (fix boo#1160389)
+
+-------------------------------------------------------------------

New:
----
  espeak-ng-1.50-fix_gcc10_no_common.patch
  espeak-ng-1.50-fix_gcc10_no_common_2.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ espeak-ng.spec ++++++
--- /var/tmp/diff_new_pack.CUl5FE/_old  2020-01-12 23:18:20.602682080 +0100
+++ /var/tmp/diff_new_pack.CUl5FE/_new  2020-01-12 23:18:20.602682080 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package espeak-ng
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -22,10 +22,13 @@
 Release:        0
 Summary:        Software speech synthesizer (text-to-speech)
 License:        GPL-3.0-or-later AND BSD-2-Clause AND Apache-2.0 AND 
Unicode-DFS-2015
-Group:          Productivity/Multimedia/Other
 URL:            https://github.com/espeak-ng/espeak-ng
 Source0:        
https://github.com/espeak-ng/espeak-ng/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Patch1:         espeak-ng-1.49.2-fix_no_return_nonvoid-in-configure.patch
+# PATCH-FIX-UPSTREAM espeak-ng-1.50-fix_gcc10_no_common.patch
+Patch2:         espeak-ng-1.50-fix_gcc10_no_common.patch
+# PATCH-FIX_UPSTREAM espeak-ng-1.50-fix_gcc10_no_common_2.patch
+Patch3:         espeak-ng-1.50-fix_gcc10_no_common_2.patch
 BuildRequires:  fdupes
 BuildRequires:  libtool >= 2.4.2
 BuildRequires:  pcaudiolib-devel
@@ -41,7 +44,6 @@
 
 %package        devel
 Summary:        Development files for espeak-ng
-Group:          Development/Languages/C and C++
 Requires:       lib%{name}%{sover} = %{version}
 
 %description    devel
@@ -49,7 +51,6 @@
 
 %package        compat
 Summary:        Executables compatible with the original espeak
-Group:          Productivity/Multimedia/Other
 Requires:       %{name} = %{version}
 Conflicts:      espeak
 
@@ -58,7 +59,6 @@
 
 %package        compat-devel
 Summary:        Development files for espeak-ng compatible with espeak
-Group:          Development/Languages/C and C++
 Requires:       %{name}-compat = %{version}
 Requires:       espeak-ng-devel = %{version}
 Conflicts:      espeak-devel
@@ -69,7 +69,6 @@
 
 %package     -n lib%{name}%{sover}
 Summary:        Software speech synthesizer (text-to-speech)
-Group:          System/Libraries
 
 %description -n lib%{name}%{sover}
 Software speech synthesizer (text-to-speech), support

++++++ espeak-ng-1.50-fix_gcc10_no_common.patch ++++++
>From 5feff569cc8b6d5817f04d9c65a0bd736f82d67d Mon Sep 17 00:00:00 2001
From: "Reece H. Dunn" <mscl...@gmail.com>
Date: Thu, 9 Jan 2020 18:47:52 +0000
Subject: [PATCH] fix #699: -Wlto-type-mismatch when using gcc with -flto=4.

---
 src/libespeak-ng/setlengths.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libespeak-ng/setlengths.c b/src/libespeak-ng/setlengths.c
index a99159fc4..2e6b4fb7f 100644
--- a/src/libespeak-ng/setlengths.c
+++ b/src/libespeak-ng/setlengths.c
@@ -377,7 +377,7 @@ espeak_ng_STATUS SetParameter(int parameter, int value, int 
relative)
 
        int new_value = value;
        int default_value;
-       extern const int *param_defaults;
+       extern const int param_defaults[N_SPEECH_PARAM];
 
        if (relative) {
                if (parameter < 5) {
++++++ espeak-ng-1.50-fix_gcc10_no_common_2.patch ++++++
>From e11cd42b03d1628f7a0cf45c9406123282e25c63 Mon Sep 17 00:00:00 2001
From: "Reece H. Dunn" <mscl...@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 10b8a8879..3a7838cf9 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;

Reply via email to