xfce4-cpufreq-plugin/xfce4-cpufreq-plugin-1.2.1-gcc10-common.patch
2020-07-14 18:28:03 +08:00

23 lines
549 B
Diff

--- xfce4-cpufreq-plugin-1.2.1/panel-plugin/xfce4-cpufreq-plugin.c
+++ xfce4-cpufreq-plugin-1.2.1/panel-plugin/xfce4-cpufreq-plugin.c
@@ -37,7 +37,7 @@
#include "xfce4-cpufreq-linux.h"
#endif /* __linux__ */
-
+CpuFreqPlugin *cpuFreq;
void
cpufreq_label_set_font (void)
--- xfce4-cpufreq-plugin-1.2.1/panel-plugin/xfce4-cpufreq-plugin.h
+++ xfce4-cpufreq-plugin-1.2.1/panel-plugin/xfce4-cpufreq-plugin.h
@@ -93,7 +93,7 @@
gint timeoutHandle;
} CpuFreqPlugin;
-CpuFreqPlugin *cpuFreq;
+extern CpuFreqPlugin *cpuFreq;
G_BEGIN_DECLS