summaryrefslogtreecommitdiff
path: root/graphics
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
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')
-rw-r--r--graphics/gimp-app-devel/files/patch-aa21
-rw-r--r--graphics/gimp-app-devel/files/patch-am19
-rw-r--r--graphics/gimp-app/files/patch-aa21
-rw-r--r--graphics/gimp-app/files/patch-am19
-rw-r--r--graphics/gimp-devel/files/patch-aa21
-rw-r--r--graphics/gimp-devel/files/patch-am19
-rw-r--r--graphics/gimp/files/patch-aa21
-rw-r--r--graphics/gimp/files/patch-am19
-rw-r--r--graphics/gimp1/files/patch-aa21
-rw-r--r--graphics/gimp1/files/patch-am19
-rw-r--r--graphics/gimpshop/files/patch-aa21
-rw-r--r--graphics/gimpshop/files/patch-am19
12 files changed, 222 insertions, 18 deletions
diff --git a/graphics/gimp-app-devel/files/patch-aa b/graphics/gimp-app-devel/files/patch-aa
index 8be51189fdab..d88851a1fcc3 100644
--- a/graphics/gimp-app-devel/files/patch-aa
+++ b/graphics/gimp-app-devel/files/patch-aa
@@ -1,6 +1,14 @@
---- app/main.c.old Tue Apr 28 09:54:27 1998
-+++ app/main.c Tue Apr 28 09:53:51 1998
-@@ -80,6 +80,8 @@
+--- app/main.c.orig Mon Apr 20 18:19:27 1998
++++ app/main.c Sun May 17 10:33:39 1998
+@@ -16,6 +16,7 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+ #include "config.h"
++#include <floatingpoint.h>
+ #include <locale.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -80,10 +81,15 @@
int i, j;
gchar *display_name, *display_env;
@@ -9,3 +17,10 @@
ATEXIT (g_mem_profile);
/* Initialize variables */
+ prog_name = argv[0];
++
++ /* Ignore floating point exceptions */
++ fpsetmask(0);
+
+ /* Initialize Gtk toolkit */
+ gtk_set_locale ();
diff --git a/graphics/gimp-app-devel/files/patch-am b/graphics/gimp-app-devel/files/patch-am
new file mode 100644
index 000000000000..e11f7845ba1b
--- /dev/null
+++ b/graphics/gimp-app-devel/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);
diff --git a/graphics/gimp-app/files/patch-aa b/graphics/gimp-app/files/patch-aa
index 8be51189fdab..d88851a1fcc3 100644
--- a/graphics/gimp-app/files/patch-aa
+++ b/graphics/gimp-app/files/patch-aa
@@ -1,6 +1,14 @@
---- app/main.c.old Tue Apr 28 09:54:27 1998
-+++ app/main.c Tue Apr 28 09:53:51 1998
-@@ -80,6 +80,8 @@
+--- app/main.c.orig Mon Apr 20 18:19:27 1998
++++ app/main.c Sun May 17 10:33:39 1998
+@@ -16,6 +16,7 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+ #include "config.h"
++#include <floatingpoint.h>
+ #include <locale.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -80,10 +81,15 @@
int i, j;
gchar *display_name, *display_env;
@@ -9,3 +17,10 @@
ATEXIT (g_mem_profile);
/* Initialize variables */
+ prog_name = argv[0];
++
++ /* Ignore floating point exceptions */
++ fpsetmask(0);
+
+ /* Initialize Gtk toolkit */
+ gtk_set_locale ();
diff --git a/graphics/gimp-app/files/patch-am b/graphics/gimp-app/files/patch-am
new file mode 100644
index 000000000000..e11f7845ba1b
--- /dev/null
+++ b/graphics/gimp-app/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);
diff --git a/graphics/gimp-devel/files/patch-aa b/graphics/gimp-devel/files/patch-aa
index 8be51189fdab..d88851a1fcc3 100644
--- a/graphics/gimp-devel/files/patch-aa
+++ b/graphics/gimp-devel/files/patch-aa
@@ -1,6 +1,14 @@
---- app/main.c.old Tue Apr 28 09:54:27 1998
-+++ app/main.c Tue Apr 28 09:53:51 1998
-@@ -80,6 +80,8 @@
+--- app/main.c.orig Mon Apr 20 18:19:27 1998
++++ app/main.c Sun May 17 10:33:39 1998
+@@ -16,6 +16,7 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+ #include "config.h"
++#include <floatingpoint.h>
+ #include <locale.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -80,10 +81,15 @@
int i, j;
gchar *display_name, *display_env;
@@ -9,3 +17,10 @@
ATEXIT (g_mem_profile);
/* Initialize variables */
+ prog_name = argv[0];
++
++ /* Ignore floating point exceptions */
++ fpsetmask(0);
+
+ /* Initialize Gtk toolkit */
+ gtk_set_locale ();
diff --git a/graphics/gimp-devel/files/patch-am b/graphics/gimp-devel/files/patch-am
new file mode 100644
index 000000000000..e11f7845ba1b
--- /dev/null
+++ b/graphics/gimp-devel/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);
diff --git a/graphics/gimp/files/patch-aa b/graphics/gimp/files/patch-aa
index 8be51189fdab..d88851a1fcc3 100644
--- a/graphics/gimp/files/patch-aa
+++ b/graphics/gimp/files/patch-aa
@@ -1,6 +1,14 @@
---- app/main.c.old Tue Apr 28 09:54:27 1998
-+++ app/main.c Tue Apr 28 09:53:51 1998
-@@ -80,6 +80,8 @@
+--- app/main.c.orig Mon Apr 20 18:19:27 1998
++++ app/main.c Sun May 17 10:33:39 1998
+@@ -16,6 +16,7 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+ #include "config.h"
++#include <floatingpoint.h>
+ #include <locale.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -80,10 +81,15 @@
int i, j;
gchar *display_name, *display_env;
@@ -9,3 +17,10 @@
ATEXIT (g_mem_profile);
/* Initialize variables */
+ prog_name = argv[0];
++
++ /* Ignore floating point exceptions */
++ fpsetmask(0);
+
+ /* Initialize Gtk toolkit */
+ gtk_set_locale ();
diff --git a/graphics/gimp/files/patch-am b/graphics/gimp/files/patch-am
new file mode 100644
index 000000000000..e11f7845ba1b
--- /dev/null
+++ b/graphics/gimp/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);
diff --git a/graphics/gimp1/files/patch-aa b/graphics/gimp1/files/patch-aa
index 8be51189fdab..d88851a1fcc3 100644
--- a/graphics/gimp1/files/patch-aa
+++ b/graphics/gimp1/files/patch-aa
@@ -1,6 +1,14 @@
---- app/main.c.old Tue Apr 28 09:54:27 1998
-+++ app/main.c Tue Apr 28 09:53:51 1998
-@@ -80,6 +80,8 @@
+--- app/main.c.orig Mon Apr 20 18:19:27 1998
++++ app/main.c Sun May 17 10:33:39 1998
+@@ -16,6 +16,7 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+ #include "config.h"
++#include <floatingpoint.h>
+ #include <locale.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -80,10 +81,15 @@
int i, j;
gchar *display_name, *display_env;
@@ -9,3 +17,10 @@
ATEXIT (g_mem_profile);
/* Initialize variables */
+ prog_name = argv[0];
++
++ /* Ignore floating point exceptions */
++ fpsetmask(0);
+
+ /* Initialize Gtk toolkit */
+ gtk_set_locale ();
diff --git a/graphics/gimp1/files/patch-am b/graphics/gimp1/files/patch-am
new file mode 100644
index 000000000000..e11f7845ba1b
--- /dev/null
+++ b/graphics/gimp1/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);
diff --git a/graphics/gimpshop/files/patch-aa b/graphics/gimpshop/files/patch-aa
index 8be51189fdab..d88851a1fcc3 100644
--- a/graphics/gimpshop/files/patch-aa
+++ b/graphics/gimpshop/files/patch-aa
@@ -1,6 +1,14 @@
---- app/main.c.old Tue Apr 28 09:54:27 1998
-+++ app/main.c Tue Apr 28 09:53:51 1998
-@@ -80,6 +80,8 @@
+--- app/main.c.orig Mon Apr 20 18:19:27 1998
++++ app/main.c Sun May 17 10:33:39 1998
+@@ -16,6 +16,7 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+ #include "config.h"
++#include <floatingpoint.h>
+ #include <locale.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+@@ -80,10 +81,15 @@
int i, j;
gchar *display_name, *display_env;
@@ -9,3 +17,10 @@
ATEXIT (g_mem_profile);
/* Initialize variables */
+ prog_name = argv[0];
++
++ /* Ignore floating point exceptions */
++ fpsetmask(0);
+
+ /* Initialize Gtk toolkit */
+ gtk_set_locale ();
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);