diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:00:13 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 14:00:13 +0000 |
commit | 14241b87ea770d70a6f1f37ee3128d0a103bc86a (patch) | |
tree | 60b650841e05a38987ddd7451c14df0635be4839 /0001-fix-699-avoid-samplerate-clashing-with-LTO-in-gcc-10.patch | |
parent | 8a45d860e12831fad3f06cbec31a5aa1f0500533 (diff) |
automatic import of espeak-ngopeneuler24.03_LTS
Diffstat (limited to '0001-fix-699-avoid-samplerate-clashing-with-LTO-in-gcc-10.patch')
-rw-r--r-- | 0001-fix-699-avoid-samplerate-clashing-with-LTO-in-gcc-10.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/0001-fix-699-avoid-samplerate-clashing-with-LTO-in-gcc-10.patch b/0001-fix-699-avoid-samplerate-clashing-with-LTO-in-gcc-10.patch new file mode 100644 index 0000000..f4a71be --- /dev/null +++ b/0001-fix-699-avoid-samplerate-clashing-with-LTO-in-gcc-10.patch @@ -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 + |