summaryrefslogtreecommitdiffstats
path: root/graphics/gimp1/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gimp1/files/patch-aa')
-rw-r--r--graphics/gimp1/files/patch-aa20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/gimp1/files/patch-aa b/graphics/gimp1/files/patch-aa
new file mode 100644
index 000000000..33a7ddbd8
--- /dev/null
+++ b/graphics/gimp1/files/patch-aa
@@ -0,0 +1,20 @@
+--- app/main.c.orig Thu Feb 10 14:41:02 2000
++++ app/main.c Sat Feb 19 13:51:36 2000
+@@ -22,6 +22,7 @@
+ #include <signal.h>
+ #include <string.h>
+ #include <sys/types.h>
++#include <floatingpoint.h>
+
+ #ifdef HAVE_SYS_WAIT_H
+ #include <sys/wait.h>
+@@ -129,6 +130,9 @@
+ /* Initialize variables */
+
+ prog_name = argv[0];
++
++ /* Ignore floating point exceptions */
++ fpsetmask(0);
+
+ /* Initialize i18n support */
+ INIT_LOCALE ("gimp");