Gentoo Archives: gentoo-commits

From: "Christoph Mende (angelos)" <angelos@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-hddtemp2.patch xfce4-sensors-0.10.99.3-acpi.patch
Date: Fri, 26 Sep 2008 14:18:51
Message-Id: E1KjE9g-0001tF-Ur@stork.gentoo.org
1 angelos 08/09/26 14:18:48
2
3 Added: xfce4-sensors-0.10.99.3-hddtemp2.patch
4 Removed: xfce4-sensors-0.10.99.3-acpi.patch
5 Log:
6 Cleanup and added network devices to the hddtemp patch, bug 233727
7 (Portage version: 2.2_rc9/cvs/Linux 2.6.27-rc6 x86_64)
8
9 Revision Changes Path
10 1.1 xfce-extra/xfce4-sensors/files/xfce4-sensors-0.10.99.3-hddtemp2.patch
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/xfce-extra/xfce4-sensors/files/xfce4-sensors-0.10.99.3-hddtemp2.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-hddtemp2.patch?rev=1.1&content-type=text/plain
14
15 Index: xfce4-sensors-0.10.99.3-hddtemp2.patch
16 ===================================================================
17 --- panel-plugin/hddtemp.c 2008-08-02 16:50:41.000000000 +0100
18 +++ panel-plugin/hddtemp.c.new 2008-08-02 16:50:51.000000000 +0100
19 @@ -122,6 +122,9 @@ read_disks_linux26 (t_chip *chip)
20 while ( (dirname = g_dir_read_name (gdir))!=NULL ) {
21 if ( strncmp (dirname, "ram", 3)!=0 &&
22 strncmp (dirname, "loop", 4)!=0 &&
23 + strncmp (dirname, "md", 2)!=0 &&
24 + strncmp (dirname, "fd", 2)!=0 &&
25 + strncmp (dirname, "nbd", 3)!=0 &&
26 strncmp (dirname, "dm-", 3)!=0 ) {
27 /* TODO: look, if /dev/dirname exists? */
28 chipfeature = g_new0 (t_chipfeature, 1);
29 @@ -283,7 +286,7 @@ get_hddtemp_value (char* disk)
30
31 TRACE ("enters get_hddtemp_value for %s", disk);
32
33 - cmd_line = g_strdup_printf ( "%s -F -n -q %s", PATH_HDDTEMP, disk);
34 + cmd_line = g_strdup_printf ( "%s -n -q %s", PATH_HDDTEMP, disk);
35
36 msg_text = NULL;