freebsd-ports/graphics/gimp-app-devel/files/patch-aa
Jeremy Lea a146f9f784 Merge the gimp1 and gimp1-i18n ports, and update to GIMP 1.1.17.
PR:		ports/16837, ports/16913
Reviewed by:	maintainers
2000-02-24 07:32:36 +00:00

21 lines
443 B
Plaintext

--- 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");