- Fix sensord rdd mode (patch send in by upstream)
This commit is contained in:
parent
cf72757bb3
commit
019195a709
13
lm_sensors-3.0.0-sensord.patch
Normal file
13
lm_sensors-3.0.0-sensord.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- lm-sensors-3.0.0/prog/sensord/rrd.c (revision 4849)
|
||||
+++ lm-sensors-3.0.0/prog/sensord/rrd.c (revision 5069)
|
||||
@@ -157,8 +157,8 @@
|
||||
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;
|
@ -1,6 +1,6 @@
|
||||
Name: lm_sensors
|
||||
Version: 3.0.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
URL: http://www.lm-sensors.org/
|
||||
Source: http://dl.lm-sensors.org/lm-sensors/releases/%{name}-%{version}.tar.bz2
|
||||
Source1: lm_sensors.sysconfig
|
||||
@ -8,6 +8,7 @@ Source1: lm_sensors.sysconfig
|
||||
Source2: sensord.sysconfig
|
||||
Source3: sensord.init
|
||||
Patch0: lm_sensors-2.10.4-service-default-off.patch
|
||||
Patch1: lm_sensors-3.0.0-sensord.patch
|
||||
Summary: Hardware monitoring tools
|
||||
Group: Applications/System
|
||||
License: GPLv2+
|
||||
@ -50,6 +51,7 @@ database, and warns of sensor alarms.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
mv prog/init/README prog/init/README.initscripts
|
||||
chmod -x prog/init/fancontrol.init
|
||||
|
||||
@ -163,6 +165,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Dec 13 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 3.0.0-2
|
||||
- Fix sensord rdd mode (patch send in by upstream)
|
||||
|
||||
* Sat Nov 24 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 3.0.0-1
|
||||
- New upstream release 3.0.0 (final)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user