xfce4-cpufreq-plugin/xfce4-cpufreq-plugin-1.2.1-gcc10-common.patch
cherry530 28c7ddf877 Package init
(cherry picked from commit 6c04f184df8de477d8cc04f105820b93e70359ba)
2021-12-03 17:18:53 +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