]> git.pld-linux.org Git - packages/lm_sensors.git/blame - lm_sensors-ppc.patch
- release 3 (by relup.sh)
[packages/lm_sensors.git] / lm_sensors-ppc.patch
CommitLineData
09bc1992 1diff -uNr lm_sensors-2.6.4.orig/prog/dump/isadump.c lm_sensors-2.6.4/prog/dump/isadump.c
2--- lm_sensors-2.6.4.orig/prog/dump/isadump.c Sat Oct 13 18:37:16 2001
3+++ lm_sensors-2.6.4/prog/dump/isadump.c Sun Aug 25 13:32:57 2002
4@@ -31,9 +31,10 @@
5
6
7 /* To keep glibc2 happy */
8-#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
9+#if defined(__GLIBC__) && !defined(__powerpc__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0
10 #include <sys/io.h>
11 #else
12+#define __KERNEL__ 1
13 #include <asm/io.h>
14 #endif
15
This page took 0.073675 seconds and 4 git commands to generate.