diff options
author | steve <steve@FreeBSD.org> | 2000-08-08 02:51:55 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-08-08 02:51:55 +0000 |
commit | 490e5b387bf348b7a89b39e8404180c11df8d1fc (patch) | |
tree | be9abb63a96e8a03064bb88391273ed0d601580f /sysutils/gtop/files | |
parent | e9b02aff4029a4e93457ff3e006517cdc6186565 (diff) | |
download | FreeBSD-ports-490e5b387bf348b7a89b39e8404180c11df8d1fc.zip FreeBSD-ports-490e5b387bf348b7a89b39e8404180c11df8d1fc.tar.gz |
Don't try to use fpresetsticky(3) on the Alpha as it doesn't exist there.
Diffstat (limited to 'sysutils/gtop/files')
-rw-r--r-- | sysutils/gtop/files/patch-ad | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sysutils/gtop/files/patch-ad b/sysutils/gtop/files/patch-ad index a3f3d1a..b94b218 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; |