1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/sysutils/gnome-system-monitor/files/patch-ad

33 lines
670 B
Plaintext

--- 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>
@@ -206,6 +208,8 @@
poptContext ctx;
const char **args;
+ fpsetmask (fpgetmask() & ~(FP_X_DZ|FP_X_INV));
+
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, GNOMELOCALEDIR);
textdomain (PACKAGE);
@@ -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;
}