1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-03 22:23:24 +00:00
freebsd-ports/sysutils/gtop/files/patch-ad

33 lines
670 B
Plaintext
Raw Normal View History

--- 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>
+
1999-01-01 06:44:36 +00:00
#include <glibtop/close.h>
2000-02-18 02:15:24 +00:00
#include <locale.h>
@@ -206,6 +208,8 @@
1999-01-01 06:44:36 +00:00
poptContext ctx;
2000-02-18 02:15:24 +00:00
const char **args;
1999-01-01 06:44:36 +00:00
+ fpsetmask (fpgetmask() & ~(FP_X_DZ|FP_X_INV));
2000-02-18 02:15:24 +00:00
+
setlocale (LC_ALL, "");
bindtextdomain (PACKAGE, GNOMELOCALEDIR);
1999-01-01 06:44:36 +00:00
textdomain (PACKAGE);
@@ -295,6 +299,11 @@
2000-02-18 02:15:24 +00:00
gtop_properties.global.show_toolbar);
gnome_config_sync ();
}
1999-01-01 06:44:36 +00:00
+
+#ifndef __alpha__
1999-01-01 06:44:36 +00:00
+ fpresetsticky (FP_X_DZ|FP_X_INV);
+#endif
1999-01-01 06:44:36 +00:00
+ fpsetmask (FP_X_DZ|FP_X_INV);
2000-02-18 02:15:24 +00:00
return 0;
}