Line
Link Here
|
|
Remove matherr hack, that is only needed for Sun shared libraries and |
|
Remove matherr hack, that is only needed for Sun shared libraries and |
1 |
causes an FTBFS with glibc 2.27 onwards, as SVID error handling has |
1 |
causes an FTBFS with glibc 2.27 onwards, as SVID error handling has |
2 |
been removed. |
2 |
been removed. |
3 |
-- libcgns-3.3.0.orig/src/cgnstools/cgnscalc/calcwish.c |
3 |
++ libcgns-3.3.0/src/cgnstools/cgnscalc/calcwish.c |
Lines 15-28
Link Here
|
15 |
#include "tk.h" |
15 |
#include "tk.h" |
16 |
#include "locale.h" |
16 |
#include "locale.h" |
17 |
|
17 |
|
18 |
/* |
|
|
19 |
* The following variable is a special hack that is needed in order for |
20 |
* Sun shared libraries to be used for Tcl. |
21 |
*/ |
22 |
|
23 |
extern int matherr(); |
24 |
int *tclDummyMathPtr = (int *) matherr; |
25 |
|
26 |
#ifdef TK_TEST |
18 |
#ifdef TK_TEST |
27 |
extern int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp)); |
19 |
extern int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp)); |
28 |
extern int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp)); |
20 |
extern int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp)); |
29 |
-- libcgns-3.3.0.orig/src/cgnstools/cgnsplot/plotwish.c |
21 |
++ libcgns-3.3.0/src/cgnstools/cgnsplot/plotwish.c |
Lines 15-28
Link Here
|
15 |
#include "tk.h" |
15 |
#include "tk.h" |
16 |
#include "locale.h" |
16 |
#include "locale.h" |
17 |
|
17 |
|
18 |
/* |
|
|
19 |
* The following variable is a special hack that is needed in order for |
20 |
* Sun shared libraries to be used for Tcl. |
21 |
*/ |
22 |
|
23 |
extern int matherr(); |
24 |
int *tclDummyMathPtr = (int *) matherr; |
25 |
|
26 |
extern int Cgnstcl_Init _ANSI_ARGS_((Tcl_Interp *interp)); |
18 |
extern int Cgnstcl_Init _ANSI_ARGS_((Tcl_Interp *interp)); |
27 |
extern int Tkogl_Init _ANSI_ARGS_((Tcl_Interp *interp)); |
19 |
extern int Tkogl_Init _ANSI_ARGS_((Tcl_Interp *interp)); |
28 |
|
20 |
|
29 |
-- libcgns-3.3.0.orig/src/cgnstools/cgnsview/cgiowish.c |
21 |
++ libcgns-3.3.0/src/cgnstools/cgnsview/cgiowish.c |
Lines 15-28
Link Here
|
15 |
#include "tk.h" |
15 |
#include "tk.h" |
16 |
#include "locale.h" |
16 |
#include "locale.h" |
17 |
|
17 |
|
18 |
/* |
|
|
19 |
* The following variable is a special hack that is needed in order for |
20 |
* Sun shared libraries to be used for Tcl. |
21 |
*/ |
22 |
|
23 |
extern int matherr(); |
24 |
int *tclDummyMathPtr = (int *) matherr; |
25 |
|
26 |
#ifdef TK_TEST |
18 |
#ifdef TK_TEST |
27 |
extern int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp)); |
19 |
extern int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp)); |
28 |
extern int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp)); |
20 |
extern int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp)); |