1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/cad/xcircuit/files/patch-ab
Kevin Lo 512c7b0dff Update to version 2.3.3
PR: 28646
Submitted by: MAINTAINER
2001-07-03 12:33:16 +00:00

28 lines
768 B
Plaintext

*** xcircuit.c.orig Tue Jun 26 22:34:15 2001
--- xcircuit.c Sat Jun 30 12:53:00 2001
***************
*** 21,26 ****
--- 21,29 ----
#include <limits.h>
#include <locale.h>
#include <unistd.h> /* for unlink() */
+ #ifdef __FreeBSD__
+ #include <machine/floatingpoint.h>
+ #endif
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
***************
*** 1685,1690 ****
--- 1688,1697 ----
char *argv0; /* find root of argv[0] */
short initargc = argc; /* because XtInitialize() absorbs the */
/* -schem flag and renumbers argc! (bug?) */
+
+ #ifdef __FreeBSD__
+ fpsetmask(0);
+ #endif
/*-----------------------------------------------------------*/
/* Find the root of the command called from the command line */