aboutsummaryrefslogtreecommitdiff
path: root/sysutils/gkrellm
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2002-02-12 02:48:27 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2002-02-12 02:48:27 +0000
commit46bcdf1b7b8cfd43a4221556d1369086e03569d9 (patch)
tree85660dabab9d0b1f3aea2c843f065ce819b52706 /sysutils/gkrellm
parentf7a35608b5524723beb58cdbe14304d536f92f5f (diff)
downloadports-46bcdf1b7b8cfd43a4221556d1369086e03569d9.tar.gz
ports-46bcdf1b7b8cfd43a4221556d1369086e03569d9.zip
Notes
Diffstat (limited to 'sysutils/gkrellm')
-rw-r--r--sysutils/gkrellm/files/patch-bc23
1 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/gkrellm/files/patch-bc b/sysutils/gkrellm/files/patch-bc
new file mode 100644
index 000000000000..fa62f0455b11
--- /dev/null
+++ b/sysutils/gkrellm/files/patch-bc
@@ -0,0 +1,23 @@
+Index: src/main.c
+diff -u src/main.c.orig src/main.c
+--- src/main.c.orig Wed Jan 2 06:10:49 2002
++++ src/main.c Tue Feb 12 10:06:21 2002
+@@ -37,7 +37,7 @@
+ kvm_t *kvmd = NULL;
+ char errbuf[_POSIX2_LINE_MAX];
+ #endif
+-#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) && defined(__i386__)
+ extern void scan_for_sensors();
+ #endif
+
+@@ -1804,7 +1804,9 @@
+ }
+ #endif
+ #if defined(__FreeBSD__)
++#if defined(__i386__)
+ scan_for_sensors();
++#endif
+ if (setuid(getuid()) != 0)
+ {
+ fprintf(stderr, "Can't drop setuid privileges.");