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

22 lines
474 B
Plaintext
Raw Normal View History

--- app/main.c.orig Wed Oct 6 13:55:38 1999
+++ app/main.c Tue Oct 12 13:23:44 1999
@@ -16,7 +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>
@@ -117,6 +117,9 @@
/* Initialize variables */
prog_name = argv[0];
+
+ /* Ignore floating point exceptions */
+ fpsetmask(0);
/* Initialize i18n support */