From 09bc1992554527fb8a93a23a1b17dca48410ae1d Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 25 Aug 2002 11:37:40 +0000 Subject: [PATCH 1/1] - fix for ppc Changed files: lm_sensors-ppc.patch -> 1.1 --- lm_sensors-ppc.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lm_sensors-ppc.patch diff --git a/lm_sensors-ppc.patch b/lm_sensors-ppc.patch new file mode 100644 index 0000000..2181688 --- /dev/null +++ b/lm_sensors-ppc.patch @@ -0,0 +1,15 @@ +diff -uNr lm_sensors-2.6.4.orig/prog/dump/isadump.c lm_sensors-2.6.4/prog/dump/isadump.c +--- lm_sensors-2.6.4.orig/prog/dump/isadump.c Sat Oct 13 18:37:16 2001 ++++ lm_sensors-2.6.4/prog/dump/isadump.c Sun Aug 25 13:32:57 2002 +@@ -31,9 +31,10 @@ + + + /* To keep glibc2 happy */ +-#if defined(__GLIBC__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0 ++#if defined(__GLIBC__) && !defined(__powerpc__) && __GLIBC__ == 2 && __GLIBC_MINOR__ >= 0 + #include + #else ++#define __KERNEL__ 1 + #include + #endif + -- 2.44.0