diff options
author | Photon89 | 2020-07-30 23:06:16 +0200 |
---|---|---|
committer | Photon89 | 2020-07-30 23:06:16 +0200 |
commit | 2cc24031df7fa3893638024c0df7d1f215d253a5 (patch) | |
tree | 373a69938f1dff0d0b8e52479e96d706496d87c0 /build-fix.patch | |
parent | dc16ee2b5f5dc6274192e7fc7523beb55050cc88 (diff) | |
download | aur-mate-multiload-ng-applet-gtk3.tar.gz |
Silent update: Added patch to fix build errors
Diffstat (limited to 'build-fix.patch')
-rw-r--r-- | build-fix.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/build-fix.patch b/build-fix.patch new file mode 100644 index 000000000000..6e7f125bad49 --- /dev/null +++ b/build-fix.patch @@ -0,0 +1,24 @@ +diff -Naur a/common/multiload-config.c b/common/multiload-config.c +--- a/common/multiload-config.c 2016-12-05 17:13:59.000000000 +0100 ++++ b/common/multiload-config.c 2020-07-30 21:18:03.568945194 +0200 +@@ -26,6 +26,8 @@ + #include "graph-data.h" + #include "multiload-config.h" + ++GraphType graph_types[GRAPH_MAX]; ++ + guint multiload_config_get_num_colors(guint id) + { + g_assert_cmpuint (graph_types[id].num_colors, <=, MAX_COLORS); +diff -Naur a/common/multiload-config.h b/common/multiload-config.h +--- a/common/multiload-config.h 2016-12-05 17:13:59.000000000 +0100 ++++ b/common/multiload-config.h 2020-07-30 21:18:21.685273529 +0200 +@@ -56,7 +56,7 @@ + + + // global variable +-GraphType graph_types[GRAPH_MAX]; ++extern GraphType graph_types[GRAPH_MAX]; + + + G_GNUC_INTERNAL guint |