- Had to patch the isadump utility to make it compile on latest kernel.
This commit is contained in:
parent
f57da75a69
commit
ce7d9c79ad
26
lm_sensors-2.10.0-kernel26.patch
Normal file
26
lm_sensors-2.10.0-kernel26.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
--- lm_sensors-2.10.0/prog/dump/isadump.c.kernel26 2006-05-12 15:26:05.000000000 +0200
|
||||||
|
+++ lm_sensors-2.10.0/prog/dump/isadump.c 2006-05-12 16:45:44.000000000 +0200
|
||||||
|
@@ -36,12 +36,7 @@
|
||||||
|
#include "superio.h"
|
||||||
|
|
||||||
|
|
||||||
|
-/* To keep glibc2 happy */
|
||||||
|
-#if 0 && defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
|
||||||
|
#include <sys/io.h>
|
||||||
|
-#else
|
||||||
|
-#include <asm/io.h>
|
||||||
|
-#endif
|
||||||
|
|
||||||
|
#ifdef __powerpc__
|
||||||
|
unsigned long isa_io_base = 0; /* XXX for now */
|
||||||
|
--- lm_sensors-2.10.0/prog/detect/sensors-detect.kernel26 2006-05-12 15:24:05.000000000 +0200
|
||||||
|
+++ lm_sensors-2.10.0/prog/detect/sensors-detect 2006-05-12 15:24:05.000000000 +0200
|
||||||
|
@@ -2034,6 +2034,8 @@
|
||||||
|
$modules_conf = '/etc/modules.conf';
|
||||||
|
} elsif (-f '/etc/conf.modules') {
|
||||||
|
$modules_conf = '/etc/conf.modules';
|
||||||
|
+ } elsif (-f '/etc/modprobe.conf') {
|
||||||
|
+ $modules_conf = '/etc/modprobe.conf';
|
||||||
|
} else { # default
|
||||||
|
$modules_conf = '/etc/modules.conf';
|
||||||
|
}
|
@ -12,7 +12,7 @@ Patch4: lm_sensors-2.8.2-expr.patch
|
|||||||
Patch5: lm_sensors-2.8.3-local.patch
|
Patch5: lm_sensors-2.8.3-local.patch
|
||||||
Patch6: lm_sensors-2.8.3-rpath.patch
|
Patch6: lm_sensors-2.8.3-rpath.patch
|
||||||
Patch7: lm_sensors-2.8.7-udev.patch
|
Patch7: lm_sensors-2.8.7-udev.patch
|
||||||
Patch8: lm_sensors-2.9.1-kernel26.patch
|
Patch8: lm_sensors-2.10.0-kernel26.patch
|
||||||
Summary: Hardware monitoring tools.
|
Summary: Hardware monitoring tools.
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: GPL
|
License: GPL
|
||||||
@ -110,6 +110,7 @@ fi
|
|||||||
- Update to lm_sensors-2.10.0
|
- Update to lm_sensors-2.10.0
|
||||||
- Added missing buildprereq on sysfsutils-devel (#189196)
|
- Added missing buildprereq on sysfsutils-devel (#189196)
|
||||||
- Added missing prereq on chkconfig (#182838)
|
- Added missing prereq on chkconfig (#182838)
|
||||||
|
- Some fiddling to make it build on latest kernels
|
||||||
|
|
||||||
* Wed Feb 15 2006 Phil Knirsch <pknirsch@redhat.com> 2.9.2-2
|
* Wed Feb 15 2006 Phil Knirsch <pknirsch@redhat.com> 2.9.2-2
|
||||||
- Added missing dependency to chkconfig
|
- Added missing dependency to chkconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user