diff options
author | ume <ume@FreeBSD.org> | 2002-10-27 20:25:55 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2002-10-27 20:25:55 +0000 |
commit | cf6485b3c2347a64130524561744d0b3bb5bdfd3 (patch) | |
tree | e701454db7e4876ac159643acbb4c1cfd3a5a89d /sysutils/gkrellm | |
parent | f7154262a2196caae8d4641aadb0da2d9d0b7111 (diff) | |
download | FreeBSD-ports-cf6485b3c2347a64130524561744d0b3bb5bdfd3.zip FreeBSD-ports-cf6485b3c2347a64130524561744d0b3bb5bdfd3.tar.gz |
make it compilable on -CURRENT, again
Diffstat (limited to 'sysutils/gkrellm')
-rw-r--r-- | sysutils/gkrellm/files/patch-src::sensors.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/gkrellm/files/patch-src::sensors.c b/sysutils/gkrellm/files/patch-src::sensors.c new file mode 100644 index 0000000..dae0a54 --- /dev/null +++ b/sysutils/gkrellm/files/patch-src::sensors.c @@ -0,0 +1,15 @@ +Index: src/sensors.c +diff -u src/sensors.c.orig src/sensors.c +--- src/sensors.c.orig Mon Oct 28 05:23:27 2002 ++++ src/sensors.c Mon Oct 28 05:23:41 2002 +@@ -223,7 +223,9 @@ + #if defined(__FreeBSD__) && defined(__i386__) + #include <osreldate.h> + #include <machine/cpufunc.h> +-#if __FreeBSD_version >= 300000 ++#if __FreeBSD_version >= 500042 ++#include <dev/smbus/smb.h> ++#elif __FreeBSD_version >= 300000 + #include <machine/smb.h> + #endif + |