diff options
author | ume <ume@FreeBSD.org> | 2002-02-12 10:48:27 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2002-02-12 10:48:27 +0800 |
commit | 802689ca3be8afd499cd2eb096c1e35d3b1fec1d (patch) | |
tree | 14f494b63366cb4c222f69f2c62dea3fe68ed7bd /sysutils/gkrellm2 | |
parent | b84763d9f4186fadbdd24bbf028c24f8578fb83d (diff) | |
download | freebsd-ports-gnome-802689ca3be8afd499cd2eb096c1e35d3b1fec1d.tar.gz freebsd-ports-gnome-802689ca3be8afd499cd2eb096c1e35d3b1fec1d.tar.zst freebsd-ports-gnome-802689ca3be8afd499cd2eb096c1e35d3b1fec1d.zip |
One more breakage on Alpha.
Reported by: Xavier Beaudouin <kiwi@oav.net>
Diffstat (limited to 'sysutils/gkrellm2')
-rw-r--r-- | sysutils/gkrellm2/files/patch-bc | 23 |
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 000000000000..fa62f0455b11 --- /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."); |