diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2019-04-15 00:07:14 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2019-04-15 00:24:31 +0300 |
commit | 3181b28cdab1b002e91359f9f41dc9beb8dc0a5e (patch) | |
tree | 21a7501cabfe2f8a72c3219417ff5093da9e8196 /mate-base/mate-applets/files | |
parent | mate-base/mate: Drop old (diff) | |
download | gentoo-3181b28cdab1b002e91359f9f41dc9beb8dc0a5e.tar.gz gentoo-3181b28cdab1b002e91359f9f41dc9beb8dc0a5e.tar.bz2 gentoo-3181b28cdab1b002e91359f9f41dc9beb8dc0a5e.zip |
mate-base/mate-applets: Drop old
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Diffstat (limited to 'mate-base/mate-applets/files')
-rw-r--r-- | mate-base/mate-applets/files/mate-applets-1.16.0-cpupower-4.7.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/mate-base/mate-applets/files/mate-applets-1.16.0-cpupower-4.7.patch b/mate-base/mate-applets/files/mate-applets-1.16.0-cpupower-4.7.patch deleted file mode 100644 index 3f4f4fa519f1..000000000000 --- a/mate-base/mate-applets/files/mate-applets-1.16.0-cpupower-4.7.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff --git a/configure.ac b/configure.ac -index b49d127..6b87389 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -411,6 +411,8 @@ fi - AM_CONDITIONAL(HAVE_LIBCPUFREQ, test x$have_libcpufreq = xyes) - AC_SUBST(LIBCPUFREQ_LIBS) - -+AC_CHECK_HEADERS([cpupower.h]) -+ - build_cpufreq_applet=no - - if test x$disable_cpufreq = xno; then -diff --git a/cpufreq/src/cpufreq-monitor-libcpufreq.c b/cpufreq/src/cpufreq-monitor-libcpufreq.c -index 4fa9d4c..ba52fde 100644 ---- a/cpufreq/src/cpufreq-monitor-libcpufreq.c -+++ b/cpufreq/src/cpufreq-monitor-libcpufreq.c -@@ -19,12 +19,16 @@ - * Authors : Carlos García Campos <carlosgc@gnome.org> - */ - -+#include <config.h> -+ - #include <glib.h> - #include <glib/gi18n.h> - - #include <stdlib.h> --#include <linux/version.h> - #include <cpufreq.h> -+#ifdef HAVE_CPUPOWER_H -+#include <cpupower.h> -+#endif - #include "cpufreq-monitor-libcpufreq.h" - #include "cpufreq-utils.h" - -@@ -111,7 +115,7 @@ - /* Check whether it failed because - * cpu is not online. - */ --#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 7, 0) -+#ifndef HAVE_CPUPOWER_H - if (!cpufreq_cpu_exists (cpu)) { - #else - if (cpupower_is_cpu_online (cpu)) { |