[arch-commits] Commit in conky/repos (2 files)

Giovanni Scafora giovanni at archlinux.org
Thu Oct 15 12:55:26 UTC 2009


    Date: Thursday, October 15, 2009 @ 08:55:26
  Author: giovanni
Revision: 55878

Merged revisions 55877 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/conky/trunk

........
  r55877 | giovanni | 2009-10-15 05:51:37 -0700 (gio, 15 ott 2009) | 1 line
........

Modified:
  conky/repos/extra-x86_64/	(properties)
Deleted:
  conky/repos/extra-x86_64/fix_hwmon_for_2.6.31.patch

----------------------------+
 fix_hwmon_for_2.6.31.patch |   36 ------------------------------------
 1 file changed, 36 deletions(-)


Property changes on: conky/repos/extra-x86_64
___________________________________________________________________
Modified: svnmerge-integrated
   - /conky/trunk:1-55875
   + /conky/trunk:1-55877

Deleted: extra-x86_64/fix_hwmon_for_2.6.31.patch
===================================================================
--- extra-x86_64/fix_hwmon_for_2.6.31.patch	2009-10-15 12:51:37 UTC (rev 55877)
+++ extra-x86_64/fix_hwmon_for_2.6.31.patch	2009-10-15 12:55:26 UTC (rev 55878)
@@ -1,36 +0,0 @@
-Horrible hack to make conky JUST compatible with the karmic kernel (2.6.31).
-See LP #435571.
-
-Index: conky-1.7.2/src/linux.c
-===================================================================
---- conky-1.7.2.orig/src/linux.c	2009-09-24 15:33:48.000000000 +0200
-+++ conky-1.7.2/src/linux.c	2009-09-24 15:37:11.000000000 +0200
-@@ -858,25 +858,14 @@
- 	}
- 
- 	if (strcmp(dir, "/sys/class/hwmon/") == 0) {
--		if (*buf) {
--			/* buf holds result from get_first_file_in_a_directory() above,
--			 * e.g. "hwmon0" -- append "/device" */
--			strcat(buf, "/device");
--		} else {
-+	  if (!(*buf)) {
- 			/* dev holds device number N as a string,
--			 * e.g. "0", -- convert to "hwmon0/device" */
--			sprintf(buf, "hwmon%s/device", dev);
-+			 * e.g. "0", -- convert to "hwmon0" */
-+			sprintf(buf, "hwmon%s", dev);
- 			dev = buf;
- 		}
- 	}
- 
--	/* At least the acpitz hwmon doesn't have a 'device' subdir,
--	 * so check it's existence and strip it from buf otherwise. */
--	snprintf(path, 255, "%s%s", dir, dev);
--	if (stat(path, &st)) {
--		buf[strlen(buf) - 7] = 0;
--	}
--
- 	/* change vol to in, tempf to temp */
- 	if (strcmp(type, "vol") == 0) {
- 		type = "in";




More information about the arch-commits mailing list