Blame SOURCES/0001-fix-699-avoid-samplerate-clashing-with-LTO-in-gcc-10.patch

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