aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils')
-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 000000000000..550eb8e9a624
--- /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
+