summaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-system-monitor
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-08-08 02:51:55 +0000
committersteve <steve@FreeBSD.org>2000-08-08 02:51:55 +0000
commit490e5b387bf348b7a89b39e8404180c11df8d1fc (patch)
treebe9abb63a96e8a03064bb88391273ed0d601580f /sysutils/gnome-system-monitor
parente9b02aff4029a4e93457ff3e006517cdc6186565 (diff)
downloadFreeBSD-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/gnome-system-monitor')
-rw-r--r--sysutils/gnome-system-monitor/files/patch-ad14
1 files changed, 8 insertions, 6 deletions
diff --git a/sysutils/gnome-system-monitor/files/patch-ad b/sysutils/gnome-system-monitor/files/patch-ad
index a3f3d1a..b94b218 100644
--- a/sysutils/gnome-system-monitor/files/patch-ad
+++ b/sysutils/gnome-system-monitor/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;
OpenPOWER on IntegriCloud