diff --git a/lm_sensors-2.10.0-kernel26.patch b/lm_sensors-2.10.0-kernel26.patch new file mode 100644 index 0000000..ad41252 --- /dev/null +++ b/lm_sensors-2.10.0-kernel26.patch @@ -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 +-#else +-#include +-#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'; + } diff --git a/lm_sensors.spec b/lm_sensors.spec index 3d3d26e..72d9b82 100644 --- a/lm_sensors.spec +++ b/lm_sensors.spec @@ -12,7 +12,7 @@ Patch4: lm_sensors-2.8.2-expr.patch Patch5: lm_sensors-2.8.3-local.patch Patch6: lm_sensors-2.8.3-rpath.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. Group: Applications/System License: GPL @@ -110,6 +110,7 @@ fi - Update to lm_sensors-2.10.0 - Added missing buildprereq on sysfsutils-devel (#189196) - Added missing prereq on chkconfig (#182838) +- Some fiddling to make it build on latest kernels * Wed Feb 15 2006 Phil Knirsch 2.9.2-2 - Added missing dependency to chkconfig