diff options
author | ume <ume@FreeBSD.org> | 2002-02-12 02:48:27 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2002-02-12 02:48:27 +0000 |
commit | 802689ca3be8afd499cd2eb096c1e35d3b1fec1d (patch) | |
tree | 14f494b63366cb4c222f69f2c62dea3fe68ed7bd | |
parent | b84763d9f4186fadbdd24bbf028c24f8578fb83d (diff) | |
download | FreeBSD-ports-802689ca3be8afd499cd2eb096c1e35d3b1fec1d.zip FreeBSD-ports-802689ca3be8afd499cd2eb096c1e35d3b1fec1d.tar.gz |
One more breakage on Alpha.
Reported by: Xavier Beaudouin <kiwi@oav.net>
-rw-r--r-- | sysutils/gkrellm/files/patch-bc | 23 | ||||
-rw-r--r-- | sysutils/gkrellm2/files/patch-bc | 23 |
2 files changed, 46 insertions, 0 deletions
diff --git a/sysutils/gkrellm/files/patch-bc b/sysutils/gkrellm/files/patch-bc new file mode 100644 index 0000000..fa62f04 --- /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."); 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."); |