diff options
author | ume <ume@FreeBSD.org> | 2002-10-28 04:25:55 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2002-10-28 04:25:55 +0800 |
commit | cf6485b3c2347a64130524561744d0b3bb5bdfd3 (patch) | |
tree | e701454db7e4876ac159643acbb4c1cfd3a5a89d | |
parent | f7154262a2196caae8d4641aadb0da2d9d0b7111 (diff) | |
download | freebsd-ports-gnome-cf6485b3c2347a64130524561744d0b3bb5bdfd3.tar.gz freebsd-ports-gnome-cf6485b3c2347a64130524561744d0b3bb5bdfd3.tar.zst freebsd-ports-gnome-cf6485b3c2347a64130524561744d0b3bb5bdfd3.zip |
make it compilable on -CURRENT, again
-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 000000000000..dae0a545214f --- /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 + |