From: marcus Date: Sun, 25 Aug 2002 11:37:40 +0000 (+0000) Subject: - fix for ppc X-Git-Tag: lm_sensors-2_6_4-2 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=09bc1992554527fb8a93a23a1b17dca48410ae1d;hp=02239be85c0f17f273747b52c3999af53e822d11;p=packages%2Flm_sensors.git - fix for ppc Changed files: lm_sensors-ppc.patch -> 1.1 --- 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 +