rpms/hardinfo/devel fixsensors.patch,1.1,1.2 hardinfo.spec,1.3,1.4
Adel Gadllah (drago01)
fedora-extras-commits at redhat.com
Fri Jul 27 08:10:35 UTC 2007
Author: drago01
Update of /cvs/pkgs/rpms/hardinfo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3187
Modified Files:
fixsensors.patch hardinfo.spec
Log Message:
sensorfix from upstream
fixsensors.patch:
Index: fixsensors.patch
===================================================================
RCS file: /cvs/pkgs/rpms/hardinfo/devel/fixsensors.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- fixsensors.patch 26 Jul 2007 08:32:39 -0000 1.1
+++ fixsensors.patch 27 Jul 2007 08:10:02 -0000 1.2
@@ -1,13 +1,13 @@
- diff -upNr hardinfo-0.4.2.2.orign/util.c hardinfo-0.4.2.2/util.c
---- hardinfo-0.4.2.2.orign/util.c 2007-07-20 16:45:08.000000000 +0200
-+++ hardinfo-0.4.2.2/util.c 2007-07-26 10:15:32.000000000 +0200
-@@ -996,7 +996,8 @@ gchar *h_strdup_cprintf(const gchar * fo
- if (source) {
- retn = g_strconcat(source, buffer, NULL);
- g_free(buffer);
-- g_free(source);
-+ if(strlen(source))
-+ g_free(source);
- } else {
- retn = buffer;
- }
+Index: arch/linux/common/sensors.h
+===================================================================
+--- arch/linux/common/sensors.h (revision 144)
++++ arch/linux/common/sensors.h (working copy)
+@@ -254,7 +254,7 @@
+
+ if ((tz = g_dir_open(path_tz, 0, NULL))) {
+ const gchar *entry;
+- gchar *temp = "";
++ gchar *temp = g_strdup("");
+
+
+ while ((entry = g_dir_read_name(tz))) {
Index: hardinfo.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hardinfo/devel/hardinfo.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- hardinfo.spec 26 Jul 2007 08:32:39 -0000 1.3
+++ hardinfo.spec 27 Jul 2007 08:10:02 -0000 1.4
@@ -1,6 +1,6 @@
Name: hardinfo
Version: 0.4.2.2
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: System Profiler and Benchmark
Group: Applications/System
@@ -60,6 +60,9 @@
%changelog
+* Thu Jul 26 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.4.2.2-5
+- Add better sensors fix from upstream
+
* Thu Jul 26 2007 Adel Gadllah <adel.gadllah at gmail.com> 0.4.2.2-4
- Fix and reenable sensor reading
- Remove zlib requires
More information about the fedora-extras-commits
mailing list