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

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