freebsd-ports/graphics/gimp-app/files/patch-aa

21 lines
489 B
Text
Raw Normal View History

1998-09-30 16:52:27 +02:00
--- app/main.c.orig Mon Sep 21 17:15:18 1998
+++ app/main.c Tue Sep 29 22:24:17 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>
1998-09-30 16:52:27 +02:00
@@ -94,6 +95,9 @@
/* Initialize variables */
prog_name = argv[0];
+
+ /* Ignore floating point exceptions */
+ fpsetmask(0);
/* Initialize Gtk toolkit */
gtk_set_locale ();