1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/cad/xcircuit/files/patch-ab
Steve Price b0a1283da3 Update to version 2.0a10.
PR:		13596
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
1999-09-25 17:27:27 +00:00

28 lines
711 B
Plaintext

*** xcircuit.c.orig Fri Jun 25 23:25:12 1999
--- xcircuit.c Tue Sep 7 00:48:01 1999
***************
*** 17,22 ****
--- 17,25 ----
#include <errno.h>
#include <limits.h>
#include <locale.h>
+ #ifdef __FreeBSD__
+ #include <machine/floatingpoint.h>
+ #endif
#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
***************
*** 1384,1389 ****
--- 1387,1396 ----
objectptr *page; /* -schem flag and renumbers argc! (bug?) */
Pixmap icon, mask;
char *argv0; /* find root of argv[0] */
+
+ #ifdef __FreeBSD__
+ fpsetmask(0);
+ #endif
/*-----------------------------------------------------------*/
/* Find the root of the command called from the command line */