0001-cmu_indic_lang-Make-cst_rx_not_indic-as-extern-decla.patch 1015 B

1234567891011121314151617181920212223242526272829
  1. From 7d38a72f9ae14a2416f7a78e28152aa33685aec7 Mon Sep 17 00:00:00 2001
  2. From: Khem Raj <raj.khem@gmail.com>
  3. Date: Wed, 12 Aug 2020 16:47:27 -0700
  4. Subject: [PATCH] cmu_indic_lang: Make cst_rx_not_indic as extern declaration
  5. Fixes build with gcc-10 which has -fno-common turned on by default
  6. Upstream-Status: Submitted [https://github.com/MycroftAI/mimic1/pull/211]
  7. Signed-off-by: Khem Raj <raj.khem@gmail.com>
  8. ---
  9. lang/cmu_indic_lang/cmu_indic_lang.h | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. diff --git a/lang/cmu_indic_lang/cmu_indic_lang.h b/lang/cmu_indic_lang/cmu_indic_lang.h
  12. index 75ee46c..83e2afa 100644
  13. --- a/lang/cmu_indic_lang/cmu_indic_lang.h
  14. +++ b/lang/cmu_indic_lang/cmu_indic_lang.h
  15. @@ -51,7 +51,7 @@ void cmu_indic_lang_init(cst_voice *v);
  16. extern const cst_phoneset cmu_indic_phoneset;
  17. extern const cst_cart cmu_indic_phrasing_cart;
  18. -const cst_regex * const cst_rx_not_indic;
  19. +extern const cst_regex * const cst_rx_not_indic;
  20. #ifdef __cplusplus
  21. } /* extern "C" */
  22. --
  23. 2.28.0