summarylogtreecommitdiffstats
path: root/gcc10.patch
diff options
context:
space:
mode:
authorDaniel Peukert2020-07-20 21:59:10 +0200
committerDaniel Peukert2020-07-20 21:59:10 +0200
commitdf986f186f6f20aba88ef7c2390aa8909b476487 (patch)
tree7036acb0a27b3773f29639ca0895adb347af48e5 /gcc10.patch
parentb921ddab7f842354a0138ef9457bb2451af95d5f (diff)
downloadaur-kalu-cli.tar.gz
Added kalu-cli
Diffstat (limited to 'gcc10.patch')
-rw-r--r--gcc10.patch31
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;