aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gimp-devel/files/patch-am
blob: 45c58cbe59fe2722ead8aa3c2ebf19cee9fa5e10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- 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));