public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [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
@ 2008-05-31 11:48 Samuli Suominen (drac)
  0 siblings, 0 replies; only message in thread
From: Samuli Suominen (drac) @ 2008-05-31 11:48 UTC (permalink / raw
  To: gentoo-commits

drac        08/05/31 11:48:22

  Added:                xfce4-sensors-0.10.99.3-acpi.patch
                        xfce4-sensors-0.10.99.3-hddtemp.patch
  Log:
  Apply patches ffrom bugs 217743 and 214527, thanks to Torsten Krah, Paolo Pedroni, Tim Taubert and Andy Crook.
  (Portage version: 2.1.5.2)

Revision  Changes    Path
1.1                  xfce-extra/xfce4-sensors/files/xfce4-sensors-0.10.99.3-acpi.patch

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
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

Index: xfce4-sensors-0.10.99.3-acpi.patch
===================================================================
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
--- xfce4-sensors-plugin-0.10.99.3_a/panel-plugin/middlelayer.c	2007-11-24 16:03:25.000000000 +0100
+++ xfce4-sensors-plugin-0.10.99.3_b/panel-plugin/middlelayer.c	2008-04-16 12:04:48.000000000 +0200
@@ -187,7 +187,7 @@
             feature = (t_chipfeature *) g_ptr_array_index (chip->chip_features, number);
             g_assert (feature!=NULL);
             /*  *value = get_acpi_zone_value (feature->name); */
-            /* refresh_acpi ((gpointer) feature);   */
+            refresh_acpi ((gpointer) feature, NULL);
             *value = feature->raw_value;
             return 0; /* HERE    I    AM,    I    WANNA    BE    FIXED    */
         #else



1.1                  xfce-extra/xfce4-sensors/files/xfce4-sensors-0.10.99.3-hddtemp.patch

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
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

Index: xfce4-sensors-0.10.99.3-hddtemp.patch
===================================================================
--- panel-plugin/hddtemp.c	2007-12-11 23:14:02.000000000 +0200
+++ panel-plugin/hddtemp.c.new	2008-04-03 12:47:36.000000000 +0300
@@ -122,6 +122,8 @@
     while ( (dirname = g_dir_read_name (gdir))!=NULL ) {
         if ( strncmp (dirname, "ram", 3)!=0 &&
              strncmp (dirname, "loop", 4)!=0 &&
+	     strncmp (dirname, "md", 2)!=0 &&
+	     strncmp (dirname, "fd", 2)!=0 &&
              strncmp (dirname, "dm-", 3)!=0 ) {
             /* TODO: look, if /dev/dirname exists? */
             chipfeature = g_new0 (t_chipfeature, 1);
@@ -283,7 +285,7 @@
 
     TRACE ("enters get_hddtemp_value for %s", disk);
 
-    cmd_line = g_strdup_printf ( "%s -F -n -q %s", PATH_HDDTEMP, disk);
+    cmd_line = g_strdup_printf ( "%s -n -q %s", PATH_HDDTEMP, disk);
 
     msg_text = NULL;
 



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-31 11:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-31 11:48 [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 Samuli Suominen (drac)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox