1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/sysutils/gnomesystemmonitor/files/patch-ad

32 lines
546 B
Plaintext
Raw Normal View History

1999-01-01 06:44:36 +00:00
--- main.c.orig Thu Dec 17 05:10:26 1998
+++ main.c Fri Jan 1 13:55:58 1999
@@ -32,6 +32,8 @@
#include <gnome.h>
+#include <floatingpoint.h>
+
1999-01-01 06:44:36 +00:00
#include <glibtop/close.h>
1999-01-01 06:44:36 +00:00
#include <assert.h>
@@ -149,6 +151,8 @@
poptContext ctx;
char **args;
1999-01-01 06:44:36 +00:00
+ fpsetmask (fpgetmask() & ~(FP_X_DZ|FP_X_INV));
+
bindtextdomain (PACKAGE, GNOMELOCALEDIR);
1999-01-01 06:44:36 +00:00
textdomain (PACKAGE);
@@ -256,6 +260,9 @@
gtk_main ();
1999-01-01 06:44:36 +00:00
glibtop_close ();
-
+
+ fpresetsticky (FP_X_DZ|FP_X_INV);
+ fpsetmask (FP_X_DZ|FP_X_INV);
+
return 0;
}