espeak-ng/0001-fix-699-avoid-samplerate-clashing-with-LTO-in-gcc-10.patch
Petr Šabata 8e578ffaef RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/espeak-ng#fa46b9aca0b8a466cd2d9ec46f3d8cfee8971d88
2020-10-15 00:05:41 +02:00

26 lines
726 B
Diff

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