a78d8c4
diff -rupN CGNS-3.3.1/src/cgnstools/cgnscalc/calcwish.c CGNS-3.3.1-new/src/cgnstools/cgnscalc/calcwish.c
a78d8c4
--- CGNS-3.3.1/src/cgnstools/cgnscalc/calcwish.c	2017-07-17 23:51:06.000000000 +0200
a78d8c4
+++ CGNS-3.3.1-new/src/cgnstools/cgnscalc/calcwish.c	2018-02-04 11:10:38.609888621 +0100
a78d8c4
@@ -15,14 +15,6 @@
a78d8c4
 #include "tk.h"
a78d8c4
 #include "locale.h"
a78d8c4
 
a78d8c4
-/*
a78d8c4
- * The following variable is a special hack that is needed in order for
a78d8c4
- * Sun shared libraries to be used for Tcl.
a78d8c4
- */
a78d8c4
-
a78d8c4
-extern int matherr();
a78d8c4
-int *tclDummyMathPtr = (int *) matherr;
a78d8c4
-
a78d8c4
 #ifdef TK_TEST
a78d8c4
 extern int		Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp));
a78d8c4
 extern int		Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp));
a78d8c4
diff -rupN CGNS-3.3.1/src/cgnstools/cgnsplot/plotwish.c CGNS-3.3.1-new/src/cgnstools/cgnsplot/plotwish.c
a78d8c4
--- CGNS-3.3.1/src/cgnstools/cgnsplot/plotwish.c	2017-07-17 23:51:06.000000000 +0200
a78d8c4
+++ CGNS-3.3.1-new/src/cgnstools/cgnsplot/plotwish.c	2018-02-04 11:10:27.229889250 +0100
a78d8c4
@@ -15,14 +15,6 @@
a78d8c4
 #include "tk.h"
a78d8c4
 #include "locale.h"
a78d8c4
 
a78d8c4
-/*
a78d8c4
- * The following variable is a special hack that is needed in order for
a78d8c4
- * Sun shared libraries to be used for Tcl.
a78d8c4
- */
a78d8c4
-
a78d8c4
-extern int matherr();
a78d8c4
-int *tclDummyMathPtr = (int *) matherr;
a78d8c4
-
a78d8c4
 extern int Cgnstcl_Init _ANSI_ARGS_((Tcl_Interp *interp));
a78d8c4
 extern int Tkogl_Init _ANSI_ARGS_((Tcl_Interp *interp));
a78d8c4
 
a78d8c4
diff -rupN CGNS-3.3.1/src/cgnstools/cgnsview/cgiowish.c CGNS-3.3.1-new/src/cgnstools/cgnsview/cgiowish.c
a78d8c4
--- CGNS-3.3.1/src/cgnstools/cgnsview/cgiowish.c	2017-07-17 23:51:06.000000000 +0200
a78d8c4
+++ CGNS-3.3.1-new/src/cgnstools/cgnsview/cgiowish.c	2018-02-04 11:10:31.067889038 +0100
a78d8c4
@@ -15,14 +15,6 @@
a78d8c4
 #include "tk.h"
a78d8c4
 #include "locale.h"
a78d8c4
 
a78d8c4
-/*
a78d8c4
- * The following variable is a special hack that is needed in order for
a78d8c4
- * Sun shared libraries to be used for Tcl.
a78d8c4
- */
a78d8c4
-
a78d8c4
-extern int matherr();
a78d8c4
-int *tclDummyMathPtr = (int *) matherr;
a78d8c4
-
a78d8c4
 #ifdef TK_TEST
a78d8c4
 extern int		Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp));
a78d8c4
 extern int		Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp));
a78d8c4
diff -rupN CGNS-3.3.1/src/cgnstools/tkogl/tkAppInit.c CGNS-3.3.1-new/src/cgnstools/tkogl/tkAppInit.c
a78d8c4
--- CGNS-3.3.1/src/cgnstools/tkogl/tkAppInit.c	2017-07-17 23:51:06.000000000 +0200
a78d8c4
+++ CGNS-3.3.1-new/src/cgnstools/tkogl/tkAppInit.c	2018-02-04 11:10:35.027888819 +0100
a78d8c4
@@ -2,16 +2,6 @@
a78d8c4
 #include <GL/gl.h>
a78d8c4
 #include "tkogl.h"
a78d8c4
 
a78d8c4
-/*
a78d8c4
- * The following variable is a special hack that is needed in order for
a78d8c4
- * Sun shared libraries to be used for Tcl.
a78d8c4
- */
a78d8c4
-
a78d8c4
-#ifdef NEED_MATHERR
a78d8c4
-extern int matherr();
a78d8c4
-int *tclDummyMathPtr = (int *) matherr;
a78d8c4
-#endif
a78d8c4
-
a78d8c4
 int Tcl_AppInit(Tcl_Interp *interp) 	/* Interpreter for application. */
a78d8c4
 {
a78d8c4
    if (Tcl_Init(interp) == TCL_ERROR)  return TCL_ERROR;