1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/math/geg/files/patch-ab
Chris Piazza 06562ff9c5 Work around division by zero coredumps
PR:		15823
Submitted by:	maintainer
2000-01-01 23:21:12 +00:00

17 lines
301 B
Plaintext

--- src/main.c.orig Sat Jan 1 20:35:47 2000
+++ src/main.c Sat Jan 1 20:36:14 2000
@@ -10,10 +10,13 @@
#include "app.h"
#include <gtk/gtk.h>
#include <stdio.h>
+#include <ieeefp.h>
int
main(int argc, char *argv[])
{
+ fpsetmask(0);
+
parse_command_line(argc, argv);
parse_rcfile();