diff options
Diffstat (limited to 'gcc10.patch')
-rw-r--r-- | gcc10.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gcc10.patch b/gcc10.patch new file mode 100644 index 000000000000..9f5b09a7b82f --- /dev/null +++ b/gcc10.patch @@ -0,0 +1,31 @@ +diff --git a/src/kalu/kalu.h b/src/kalu/kalu.h +index 428aea1..1e109d8 100644 +--- a/src/kalu/kalu.h ++++ b/src/kalu/kalu.h +@@ -134,7 +134,7 @@ typedef enum { + } tpl_t; + + /* template names in config (prefixed w/ "template-") */ +-const gchar *tpl_names[_NB_TPL]; ++extern const gchar *tpl_names[_NB_TPL]; + + typedef enum { + FLD_TITLE, +@@ -144,7 +144,7 @@ typedef enum { + } fld_t; + + /* field names in config */ +-const gchar *fld_names[_NB_FLD]; ++extern const gchar *fld_names[_NB_FLD]; + + typedef enum { + TPL_SCE_UNDEFINED = 0, +@@ -156,7 +156,7 @@ typedef enum { + } tpl_sce_t; + + /* source names in config */ +-const gchar *tpl_sce_names[_NB_TPL_SCE]; ++extern const gchar *tpl_sce_names[_NB_TPL_SCE]; + + struct field { + const char *def; |