xref: /OK3568_Linux_fs/buildroot/package/mimic/0001-Fix-linking-on-gcc-10.2.0-or-newer.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1From 77b36eaeb2c38eba571b8db7e9bb0fd507774e6d Mon Sep 17 00:00:00 2001
2From: Kris Gesling <kris.gesling@mycroft.ai>
3Date: Tue, 11 May 2021 09:15:22 +0930
4Subject: [PATCH] Fix linking on gcc 10.2.0 or newer
5
6Co-authored-by: MichaelSabal <michaelsabal@users.noreply.github.com>
7
8[Retrieved from:
9https://github.com/MycroftAI/mimic1/commit/77b36eaeb2c38eba571b8db7e9bb0fd507774e6d]
10Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
11---
12 lang/cmu_indic_lang/cmu_indic_lang.h | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/lang/cmu_indic_lang/cmu_indic_lang.h b/lang/cmu_indic_lang/cmu_indic_lang.h
16index 75ee46c..83e2afa 100644
17--- a/lang/cmu_indic_lang/cmu_indic_lang.h
18+++ b/lang/cmu_indic_lang/cmu_indic_lang.h
19@@ -51,7 +51,7 @@ void cmu_indic_lang_init(cst_voice *v);
20 extern const cst_phoneset cmu_indic_phoneset;
21 extern const cst_cart cmu_indic_phrasing_cart;
22
23-const cst_regex * const cst_rx_not_indic;
24+extern const cst_regex * const cst_rx_not_indic;
25
26 #ifdef __cplusplus
27 } /* extern "C" */
28