summaryrefslogtreecommitdiffstats
path: root/sysutils/gkrellm2
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2002-10-27 20:19:37 +0000
committerume <ume@FreeBSD.org>2002-10-27 20:19:37 +0000
commite208509ef09c92e6f9248bb4b90c995ef578c3f5 (patch)
tree7c3a1383937af5b14615ac0046083cfbd326bc73 /sysutils/gkrellm2
parent032a34a6379ce7889b431926732213d43a1fa2df (diff)
downloadFreeBSD-ports-e208509ef09c92e6f9248bb4b90c995ef578c3f5.zip
FreeBSD-ports-e208509ef09c92e6f9248bb4b90c995ef578c3f5.tar.gz
make it compilable on -CURRENT, again
Diffstat (limited to 'sysutils/gkrellm2')
-rw-r--r--sysutils/gkrellm2/files/patch-src::sysdeps::freebsd.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/gkrellm2/files/patch-src::sysdeps::freebsd.c b/sysutils/gkrellm2/files/patch-src::sysdeps::freebsd.c
new file mode 100644
index 0000000..550eb8e
--- /dev/null
+++ b/sysutils/gkrellm2/files/patch-src::sysdeps::freebsd.c
@@ -0,0 +1,15 @@
+Index: src/sysdeps/freebsd.c
+diff -u src/sysdeps/freebsd.c.orig src/sysdeps/freebsd.c
+--- src/sysdeps/freebsd.c.orig Wed Oct 2 05:17:59 2002
++++ src/sysdeps/freebsd.c Mon Oct 28 05:13:38 2002
+@@ -1210,7 +1210,9 @@
+ #include <dirent.h>
+ #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