summaryrefslogtreecommitdiffstats
path: root/graphics/gimp/files/patch-am
blob: 1ab114f461a25c00f0ba3cf15047e3e66fa36e21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- libgimp/gimp.c.orig	Fri May 12 12:37:27 2000
+++ libgimp/gimp.c	Thu May 18 16:42:21 2000
@@ -26,6 +26,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/types.h>
+#include <floatingpoint.h>
 
 #ifdef HAVE_SYS_TIME_H
 #include <sys/time.h>
@@ -211,6 +212,9 @@
     }
 
   progname = argv[0];
+
+  /* Ignore floating point exceptions */
+  fpsetmask(0);
 
   g_set_prgname (g_basename (progname));
 
OpenPOWER on IntegriCloud