diff options
Diffstat (limited to 'math/scilab/files/patch-ap')
-rw-r--r-- | math/scilab/files/patch-ap | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/math/scilab/files/patch-ap b/math/scilab/files/patch-ap new file mode 100644 index 0000000..f4e3571 --- /dev/null +++ b/math/scilab/files/patch-ap @@ -0,0 +1,41 @@ +diff -c -r /usr/LOCAL/scilab2.3/work/scilab-2.3/xmetanet/metanet.c ./xmetanet/metanet.c +*** /usr/LOCAL/scilab2.3/work/scilab-2.3/xmetanet/metanet.c Mon May 12 16:34:41 1997 +--- ./xmetanet/metanet.c Wed May 21 01:00:49 1997 +*************** +*** 6,12 **** + #include <X11/StringDefs.h> + #include <X11/Xaw/Form.h> + #include <X11/Xaw/Label.h> +! + #include "defs.h" + #include "color.h" + #include "list.h" +--- 6,14 ---- + #include <X11/StringDefs.h> + #include <X11/Xaw/Form.h> + #include <X11/Xaw/Label.h> +! #ifdef __FreeBSD__ +! #include <floatingpoint.h> +! #endif + #include "defs.h" + #include "color.h" + #include "list.h" +*************** +*** 219,225 **** + XSizeHints sizehints; + + iniG = NULL; +! + /* Is xmetanet called by Scilab? */ + + igeci = find("-pipes",argc,argv); +--- 221,229 ---- + XSizeHints sizehints; + + iniG = NULL; +! #ifdef __FreeBSD__ +! fpsetmask(0); +! #endif + /* Is xmetanet called by Scilab? */ + + igeci = find("-pipes",argc,argv); |