diff options
author | ume <ume@FreeBSD.org> | 2002-10-28 04:19:37 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2002-10-28 04:19:37 +0800 |
commit | e208509ef09c92e6f9248bb4b90c995ef578c3f5 (patch) | |
tree | 7c3a1383937af5b14615ac0046083cfbd326bc73 /sysutils | |
parent | 032a34a6379ce7889b431926732213d43a1fa2df (diff) | |
download | freebsd-ports-gnome-e208509ef09c92e6f9248bb4b90c995ef578c3f5.tar.gz freebsd-ports-gnome-e208509ef09c92e6f9248bb4b90c995ef578c3f5.tar.zst freebsd-ports-gnome-e208509ef09c92e6f9248bb4b90c995ef578c3f5.zip |
make it compilable on -CURRENT, again
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/gkrellm2/files/patch-src::sysdeps::freebsd.c | 15 |
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 + |