diff options
author | Steve Price <steve@FreeBSD.org> | 1999-09-25 17:27:27 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1999-09-25 17:27:27 +0000 |
commit | b0a1283da3ebd8f76b6ccd3946b2de98b9234e7a (patch) | |
tree | 81cf0ced77ebebad82b9ab4fc71ab09ab6677a22 /cad/xcircuit/files/patch-ab | |
parent | Turn (back) on sound support for FreeBSD/Alpha. (diff) |
Update to version 2.0a10.
PR: 13596
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes:
svn path=/head/; revision=21948
Diffstat (limited to 'cad/xcircuit/files/patch-ab')
-rw-r--r-- | cad/xcircuit/files/patch-ab | 50 |
1 files changed, 27 insertions, 23 deletions
diff --git a/cad/xcircuit/files/patch-ab b/cad/xcircuit/files/patch-ab index f9d849eaba21..6ee29df6739c 100644 --- a/cad/xcircuit/files/patch-ab +++ b/cad/xcircuit/files/patch-ab @@ -1,23 +1,27 @@ ---- xcircuit.c.orig Thu May 21 16:43:03 1998 -+++ xcircuit.c Tue Jan 26 18:20:21 1999 -@@ -30,6 +30,9 @@ - #include <sys/stat.h> - #include <errno.h> - #include <limits.h> -+#ifdef __FreeBSD__ -+#include <machine/floatingpoint.h> -+#endif - - #undef FUNCPROTO - #include <X11/Intrinsic.h> -@@ -3575,6 +3578,10 @@ - Arg wargs[12]; - short i, j, k = 0, n = 0, maxbuttons, maxcolors; - objectptr *page; -+ -+#ifdef __FreeBSD__ -+ fpsetmask(0); -+#endif - - /*---------------------------*/ - /* initialize user variables */ +*** 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 */ |