0001-Fix-linking-on-gcc-10.2.0-or-newer.patch 1.0 KB

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