Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in xfce-extra/xfce4-sensors/files: xfce4-sensors-0.10.99.3-acpi.patch xfce4-sensors-0.10.99.3-hddtemp.patch
Date: Sat, 31 May 2008 11:48:27
Message-Id: E1K2PZO-0004Gx-9m@stork.gentoo.org
1 drac 08/05/31 11:48:22
2
3 Added: xfce4-sensors-0.10.99.3-acpi.patch
4 xfce4-sensors-0.10.99.3-hddtemp.patch
5 Log:
6 Apply patches ffrom bugs 217743 and 214527, thanks to Torsten Krah, Paolo Pedroni, Tim Taubert and Andy Crook.
7 (Portage version: 2.1.5.2)
8
9 Revision Changes Path
10 1.1 xfce-extra/xfce4-sensors/files/xfce4-sensors-0.10.99.3-acpi.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/xfce-extra/xfce4-sensors/files/xfce4-sensors-0.10.99.3-acpi.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/xfce-extra/xfce4-sensors/files/xfce4-sensors-0.10.99.3-acpi.patch?rev=1.1&content-type=text/plain
14
15 Index: xfce4-sensors-0.10.99.3-acpi.patch
16 ===================================================================
17 diff -Naur xfce4-sensors-plugin-0.10.99.3_a/panel-plugin/middlelayer.c xfce4-sensors-plugin-0.10.99.3_b/panel-plugin/middlelayer.c
18 --- xfce4-sensors-plugin-0.10.99.3_a/panel-plugin/middlelayer.c 2007-11-24 16:03:25.000000000 +0100
19 +++ xfce4-sensors-plugin-0.10.99.3_b/panel-plugin/middlelayer.c 2008-04-16 12:04:48.000000000 +0200
20 @@ -187,7 +187,7 @@
21 feature = (t_chipfeature *) g_ptr_array_index (chip->chip_features, number);
22 g_assert (feature!=NULL);
23 /* *value = get_acpi_zone_value (feature->name); */
24 - /* refresh_acpi ((gpointer) feature); */
25 + refresh_acpi ((gpointer) feature, NULL);
26 *value = feature->raw_value;
27 return 0; /* HERE I AM, I WANNA BE FIXED */
28 #else
29
30
31
32 1.1 xfce-extra/xfce4-sensors/files/xfce4-sensors-0.10.99.3-hddtemp.patch
33
34 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/xfce-extra/xfce4-sensors/files/xfce4-sensors-0.10.99.3-hddtemp.patch?rev=1.1&view=markup
35 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/xfce-extra/xfce4-sensors/files/xfce4-sensors-0.10.99.3-hddtemp.patch?rev=1.1&content-type=text/plain
36
37 Index: xfce4-sensors-0.10.99.3-hddtemp.patch
38 ===================================================================
39 --- panel-plugin/hddtemp.c 2007-12-11 23:14:02.000000000 +0200
40 +++ panel-plugin/hddtemp.c.new 2008-04-03 12:47:36.000000000 +0300
41 @@ -122,6 +122,8 @@
42 while ( (dirname = g_dir_read_name (gdir))!=NULL ) {
43 if ( strncmp (dirname, "ram", 3)!=0 &&
44 strncmp (dirname, "loop", 4)!=0 &&
45 + strncmp (dirname, "md", 2)!=0 &&
46 + strncmp (dirname, "fd", 2)!=0 &&
47 strncmp (dirname, "dm-", 3)!=0 ) {
48 /* TODO: look, if /dev/dirname exists? */
49 chipfeature = g_new0 (t_chipfeature, 1);
50 @@ -283,7 +285,7 @@
51
52 TRACE ("enters get_hddtemp_value for %s", disk);
53
54 - cmd_line = g_strdup_printf ( "%s -F -n -q %s", PATH_HDDTEMP, disk);
55 + cmd_line = g_strdup_printf ( "%s -n -q %s", PATH_HDDTEMP, disk);
56
57 msg_text = NULL;
58
59
60
61
62 --
63 gentoo-commits@l.g.o mailing list