aboutsummaryrefslogtreecommitdiff
path: root/ftp/IglooFTP/files/patch-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/IglooFTP/files/patch-main.c')
-rw-r--r--ftp/IglooFTP/files/patch-main.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/ftp/IglooFTP/files/patch-main.c b/ftp/IglooFTP/files/patch-main.c
new file mode 100644
index 000000000000..dddf22599db0
--- /dev/null
+++ b/ftp/IglooFTP/files/patch-main.c
@@ -0,0 +1,23 @@
+--- main.c.orig Thu Apr 15 20:05:15 1999
++++ main.c Mon May 3 13:42:28 1999
+@@ -20,6 +20,9 @@
+ #include <stdlib.h>
+ #include <unistd.h>
+ #include <string.h>
++#ifdef __FreeBSD__
++#include <floatingpoint.h>
++#endif
+ #include "protos.h"
+
+
+@@ -101,6 +104,10 @@
+ GtkWidget *vbox1;
+ char IS_SPAWNED = FALSE;
+ register int f;
++
++#ifdef __FreeBSD__
++ fpsetmask(0);
++#endif
+
+ gtk_set_locale ();
+ gtk_init (&argc, &argv);