]> git.pld-linux.org Git - packages/lm_sensors.git/commitdiff
- fix for ppc lm_sensors-2_6_4-2
authormarcus <marcus@pld-linux.org>
Sun, 25 Aug 2002 11:37:40 +0000 (11:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lm_sensors-ppc.patch -> 1.1

lm_sensors-ppc.patch [new file with mode: 0644]

diff --git a/lm_sensors-ppc.patch b/lm_sensors-ppc.patch
new file mode 100644 (file)
index 0000000..2181688
--- /dev/null
@@ -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 <sys/io.h>
+ #else
++#define __KERNEL__ 1
+ #include <asm/io.h>
+ #endif
This page took 0.053931 seconds and 4 git commands to generate.