openbsd-ports/graphics/dia/patches/patch-app_main_c

22 lines
423 B
Plaintext
Raw Normal View History

$OpenBSD: patch-app_main_c,v 1.1 2008/10/03 11:39:01 ajacoutot Exp $
--- app/main.c.orig Sun Jan 21 09:18:08 2007
+++ app/main.c Fri Oct 3 12:39:09 2008
@@ -17,6 +17,8 @@
*/
#include <config.h>
+#include <ieeefp.h>
+
#include "geometry.h"
#include "diagram.h"
#include "display.h"
@@ -28,6 +30,8 @@
int main(int argc, char *argv[])
{
+ fpsetmask(0);
+
app_init(argc, argv);
if (!app_is_interactive())