freebsd-ports/graphics/gimp-app-devel/files/patch-am
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
467 B
Plaintext

--- libgimp/gimp.c.orig Mon Dec 6 14:44:39 1999
+++ libgimp/gimp.c Sat Feb 19 13:51:36 2000
@@ -26,6 +26,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
+#include <floatingpoint.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#endif
@@ -186,6 +187,9 @@
}
progname = argv[0];
+
+ /* Ignore floating point exceptions */
+ fpsetmask(0);
#ifndef G_OS_WIN32
/* No use catching these on Win32, the user won't get any meaningful