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

31 lines
601 B
Plaintext
Raw Normal View History

2000-02-18 02:15:24 +00:00
--- main.c.orig Sun Feb 13 16:27:56 2000
+++ main.c Thu Feb 17 12:07:45 2000
1999-01-01 06:44:36 +00:00
@@ -32,6 +32,8 @@
#include <gnome.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>
@@ -205,6 +207,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);
2000-02-18 02:15:24 +00:00
@@ -294,6 +298,9 @@
gtop_properties.global.show_toolbar);
gnome_config_sync ();
}
1999-01-01 06:44:36 +00:00
+
+ fpresetsticky (FP_X_DZ|FP_X_INV);
+ fpsetmask (FP_X_DZ|FP_X_INV);
2000-02-18 02:15:24 +00:00
return 0;
}