summaryrefslogtreecommitdiffstats
path: root/sysutils/gkrellm2
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2002-02-12 02:48:27 +0000
committerume <ume@FreeBSD.org>2002-02-12 02:48:27 +0000
commit802689ca3be8afd499cd2eb096c1e35d3b1fec1d (patch)
tree14f494b63366cb4c222f69f2c62dea3fe68ed7bd /sysutils/gkrellm2
parentb84763d9f4186fadbdd24bbf028c24f8578fb83d (diff)
downloadFreeBSD-ports-802689ca3be8afd499cd2eb096c1e35d3b1fec1d.zip
FreeBSD-ports-802689ca3be8afd499cd2eb096c1e35d3b1fec1d.tar.gz
One more breakage on Alpha.
Reported by: Xavier Beaudouin <kiwi@oav.net>
Diffstat (limited to 'sysutils/gkrellm2')
-rw-r--r--sysutils/gkrellm2/files/patch-bc23
1 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/gkrellm2/files/patch-bc b/sysutils/gkrellm2/files/patch-bc
new file mode 100644
index 0000000..fa62f04
--- /dev/null
+++ b/sysutils/gkrellm2/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.");
OpenPOWER on IntegriCloud