summaryrefslogtreecommitdiffstats
path: root/sysutils/gkrellm
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2002-10-27 20:25:55 +0000
committerume <ume@FreeBSD.org>2002-10-27 20:25:55 +0000
commitcf6485b3c2347a64130524561744d0b3bb5bdfd3 (patch)
treee701454db7e4876ac159643acbb4c1cfd3a5a89d /sysutils/gkrellm
parentf7154262a2196caae8d4641aadb0da2d9d0b7111 (diff)
downloadFreeBSD-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.c15
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
+
OpenPOWER on IntegriCloud