This commit is contained in:
committed by
Git OBS Bridge
parent
2d4c55bfe1
commit
41a9aaa888
17
lm_sensors-3.0.0-sensord-fix-rrd-support.patch
Normal file
17
lm_sensors-3.0.0-sensord-fix-rrd-support.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
Index: lm-sensors-3.0.0/prog/sensord/rrd.c
|
||||
===================================================================
|
||||
--- prog/sensord/rrd.c (revision 4849)
|
||||
+++ prog/sensord/rrd.c (revision 5069)
|
||||
@@ -156,10 +156,10 @@
|
||||
|
||||
for (index0 = 0; (ret == 0) && (num < MAX_RRD_SENSORS) && features[index0].format; ++ index0) {
|
||||
const FeatureDescriptor *feature = features + index0;
|
||||
- const char *rawLabel = features->feature->name;
|
||||
+ const char *rawLabel = feature->feature->name;
|
||||
char *label = NULL;
|
||||
|
||||
- if (!(label = sensors_get_label (chip, features->feature))) {
|
||||
+ if (!(label = sensors_get_label (chip, feature->feature))) {
|
||||
sensorLog (LOG_ERR, "Error getting sensor label: %s/%s", chip->prefix, rawLabel);
|
||||
ret = -1;
|
||||
} else {
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 11 14:26:46 CET 2007 - jdelvare@suse.de
|
||||
|
||||
- Fix rrd support in sensord. Fixed upstream in:
|
||||
http://www.lm-sensors.org/changeset/5069
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 30 20:43:02 CET 2007 - jdelvare@suse.de
|
||||
|
||||
|
@@ -14,7 +14,7 @@ Name: sensors
|
||||
BuildRequires: bison flex rrdtool-devel sysfsutils
|
||||
Url: http://www.lm-sensors.org/
|
||||
Version: 3.0.0
|
||||
Release: 4
|
||||
Release: 7
|
||||
Summary: Hardware health monitoring for Linux
|
||||
License: GPL v2 or later
|
||||
Group: System/Monitoring
|
||||
@@ -24,6 +24,7 @@ Source0: lm_sensors-3.0.0.tar.bz2
|
||||
Patch: lm_sensors-3.0.0.dif
|
||||
Patch1: lm_sensors-3.0.0-sensord-separate.dif
|
||||
Patch2: lm_sensors-3.0.0-sysconfig_metadata.patch
|
||||
Patch3: lm_sensors-3.0.0-sensord-fix-rrd-support.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
ExcludeArch: s390 s390x
|
||||
|
||||
@@ -122,6 +123,7 @@ Authors:
|
||||
%patch
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
|
||||
%build
|
||||
RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
|
||||
@@ -197,6 +199,9 @@ rm -f $RPM_BUILD_ROOT/usr/src/linux/include/sensors.h
|
||||
%doc /usr/share/man/man3/*.3.gz
|
||||
|
||||
%changelog
|
||||
* Tue Dec 11 2007 - jdelvare@suse.de
|
||||
- Fix rrd support in sensord. Fixed upstream in:
|
||||
http://www.lm-sensors.org/changeset/5069
|
||||
* Fri Nov 30 2007 - jdelvare@suse.de
|
||||
- Remove obsolete Requires tags. Since version 3.0.0, it is no
|
||||
longer mandatory to provide a configuration file to libsensors.
|
||||
|
Reference in New Issue
Block a user