1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/graphics/gimp-app/files/patch-am

21 lines
467 B
Plaintext
Raw Normal View History

--- 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