diff options
author | cpiazza <cpiazza@FreeBSD.org> | 2000-01-02 07:21:12 +0800 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 2000-01-02 07:21:12 +0800 |
commit | 9ce61c177f3f19d567f9629fc8f0177e088ff5b9 (patch) | |
tree | f938cab7089c17c493f66e295bb17a4261ed09b1 /math/geg | |
parent | c27ad1956f617c1a7c98274a373e2147ec066ff6 (diff) | |
download | freebsd-ports-gnome-9ce61c177f3f19d567f9629fc8f0177e088ff5b9.tar.gz freebsd-ports-gnome-9ce61c177f3f19d567f9629fc8f0177e088ff5b9.tar.zst freebsd-ports-gnome-9ce61c177f3f19d567f9629fc8f0177e088ff5b9.zip |
Work around division by zero coredumps
PR: 15823
Submitted by: maintainer
Diffstat (limited to 'math/geg')
-rw-r--r-- | math/geg/files/patch-ab | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/math/geg/files/patch-ab b/math/geg/files/patch-ab new file mode 100644 index 000000000000..0ef71c1e2436 --- /dev/null +++ b/math/geg/files/patch-ab @@ -0,0 +1,16 @@ +--- 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(); + |