summaryrefslogtreecommitdiffstats
path: root/graphics/gimp-app/files/patch-libgimp_gimp.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gimp-app/files/patch-libgimp_gimp.c')
-rw-r--r--graphics/gimp-app/files/patch-libgimp_gimp.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/gimp-app/files/patch-libgimp_gimp.c b/graphics/gimp-app/files/patch-libgimp_gimp.c
new file mode 100644
index 000000000..a1bb86bbf
--- /dev/null
+++ b/graphics/gimp-app/files/patch-libgimp_gimp.c
@@ -0,0 +1,20 @@
+--- libgimp/gimp.c.orig Fri Sep 1 06:14:32 2006
++++ libgimp/gimp.c Sun Dec 31 15:56:37 2006
+@@ -29,6 +29,7 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <sys/types.h>
++#include <floatingpoint.h>
+
+ #ifdef HAVE_SYS_TIME_H
+ #include <sys/time.h>
+@@ -291,6 +292,9 @@
+ gimp_env_init (TRUE);
+
+ progname = argv[0];
++
++ /* Ignore floating point exceptions */
++ fpsetmask(0);
+
+ basename = g_path_get_basename (progname);
+