summaryrefslogtreecommitdiff
path: root/sysutils/gtop/files
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-08-08 02:51:55 +0000
committerSteve Price <steve@FreeBSD.org>2000-08-08 02:51:55 +0000
commit3ec55c71e58f2925e4471f9ec7dc1477005e6404 (patch)
tree20f2a94319440be1754d8975f99c762f73b5c317 /sysutils/gtop/files
parentDon't try to use the non-existent fpresetsticky function on the Alpha. (diff)
Don't try to use fpresetsticky(3) on the Alpha as it doesn't exist there.
Notes
Notes: svn path=/head/; revision=31398
Diffstat (limited to 'sysutils/gtop/files')
-rw-r--r--sysutils/gtop/files/patch-ad14
1 files changed, 8 insertions, 6 deletions
diff --git a/sysutils/gtop/files/patch-ad b/sysutils/gtop/files/patch-ad
index a3f3d1a335f3..b94b21823f77 100644
--- a/sysutils/gtop/files/patch-ad
+++ b/sysutils/gtop/files/patch-ad
@@ -1,15 +1,15 @@
---- main.c.orig Sun Feb 13 16:27:56 2000
-+++ main.c Thu Feb 17 12:07:45 2000
-@@ -32,6 +32,8 @@
-
+--- main.c.orig Mon May 22 13:25:21 2000
++++ main.c Sun Aug 6 21:01:42 2000
+@@ -33,6 +33,8 @@
#include <gnome.h>
+ #include <libgnomeui/gnome-window-icon.h>
+#include <floatingpoint.h>
+
#include <glibtop/close.h>
#include <locale.h>
-@@ -205,6 +207,8 @@
+@@ -206,6 +208,8 @@
poptContext ctx;
const char **args;
@@ -18,12 +18,14 @@
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, GNOMELOCALEDIR);
textdomain (PACKAGE);
-@@ -294,6 +298,9 @@
+@@ -295,6 +299,11 @@
gtop_properties.global.show_toolbar);
gnome_config_sync ();
}
+
++#ifndef __alpha__
+ fpresetsticky (FP_X_DZ|FP_X_INV);
++#endif
+ fpsetmask (FP_X_DZ|FP_X_INV);
return 0;