]> git.pld-linux.org Git - packages/gnome-applets.git/commitdiff
- rel 4; fix build auto/th/gnome-applets-3.18.2-4
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 31 Dec 2016 18:23:51 +0000 (19:23 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 31 Dec 2016 18:23:51 +0000 (19:23 +0100)
gnome-applets-build.patch [new file with mode: 0644]
gnome-applets.spec

diff --git a/gnome-applets-build.patch b/gnome-applets-build.patch
new file mode 100644 (file)
index 0000000..858bc1a
--- /dev/null
@@ -0,0 +1,19 @@
+--- gnome-applets-3.18.2/cpufreq/src/cpufreq-monitor-libcpufreq.c~     2016-02-05 18:35:32.000000000 +0100
++++ gnome-applets-3.18.2/cpufreq/src/cpufreq-monitor-libcpufreq.c      2016-12-31 19:22:46.174263177 +0100
+@@ -23,6 +23,7 @@
+ #include <stdlib.h>
+ #include <cpufreq.h>
++#include <cpuidle.h>
+ #include "cpufreq-monitor-libcpufreq.h"
+ #include "cpufreq-utils.h"
+@@ -110,7 +111,7 @@ cpufreq_monitor_libcpufreq_run (CPUFreqM
+               /* Check whether it failed because
+                * cpu is not online.
+                */
+-              if (!cpufreq_cpu_exists (cpu)) {
++              if (cpupower_is_cpu_online (cpu)) {
+                       g_object_set (G_OBJECT (monitor), "online", FALSE, NULL);
+                       return TRUE;
+               }
index 72e48dc9eb2ca7ca5a0ff0073eef094d7087c9fa..6a6078c88751eda74466cfccd5d4a9e7533dac12 100644 (file)
@@ -6,12 +6,13 @@ Summary(ru.UTF-8):    Маленькие программы, встраивающи
 Summary(uk.UTF-8):     Маленькі програми, що вбудовуються в панель GNOME
 Name:          gnome-applets
 Version:       3.18.2
-Release:       3
+Release:       4
 Epoch:         1
 License:       GPL v2, FDL
 Group:         X11/Applications
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/gnome-applets/3.18/%{name}-%{version}.tar.xz
 # Source0-md5: 5d4e85d820abefd4298a7470f1234682
+Patch0:                %{name}-build.patch
 URL:           http://www.gnome.org/
 BuildRequires: adwaita-icon-theme >= 3.14.0
 %ifarch %{ix86} arm mips ppc sh
@@ -481,6 +482,7 @@ wyszarzanie nieaktywnych ikon.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
This page took 0.151018 seconds and 4 git commands to generate.