summaryrefslogtreecommitdiff
path: root/graphics/gimpshop/files/patch-am
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1998-05-19 03:16:48 +0000
committerJohn Polstra <jdp@FreeBSD.org>1998-05-19 03:16:48 +0000
commitc65897b39de84d24879d479c5a6f6432e5051a6c (patch)
tree7237d62004608bdf9b783ab4f691d41761eefc90 /graphics/gimpshop/files/patch-am
parentChange the shared library version number in the "gtk" dependency (diff)
Add patches to call fpsetmask(0) at startup time, for gimp itself
and for the plug-ins. Linux defaults to this (I think), but FreeBSD does not. Thus SIGFPEs happen at inopportune times under FreeBSD. GIMP catches the signals, but prompts at the standard input asking what to do about them. On my system, I start GIMP from a window manager menu, and this prompt to standard input caused the window manager and every child of it to enter the STOPPED state. Not nice at all. Why the other processes got stopped too, I don't understand.
Notes
Notes: svn path=/head/; revision=11056
Diffstat (limited to 'graphics/gimpshop/files/patch-am')
-rw-r--r--graphics/gimpshop/files/patch-am19
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/gimpshop/files/patch-am b/graphics/gimpshop/files/patch-am
new file mode 100644
index 000000000000..e11f7845ba1b
--- /dev/null
+++ b/graphics/gimpshop/files/patch-am
@@ -0,0 +1,19 @@
+--- libgimp/gimp.c.orig Sun Apr 12 22:40:51 1998
++++ libgimp/gimp.c Sun May 17 11:00:26 1998
+@@ -19,6 +19,7 @@
+ #include "config.h"
+
+ #include <errno.h>
++#include <floatingpoint.h>
+ #include <signal.h>
+ #include <stdarg.h>
+ #include <stdio.h>
+@@ -84,6 +85,8 @@
+ }
+
+ progname = argv[0];
++
++ fpsetmask(0);
+
+ signal (SIGHUP, gimp_signal);
+ signal (SIGINT, gimp_signal);