1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/graphics/gimp/files/patch-aa

21 lines
443 B
Plaintext
Raw Normal View History

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