blob: 00b3de20318a61df4c040fa32777887da87f3ee6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
Description: Remove matherr hack
Remove matherr hack, that is only needed for Sun shared libraries and
causes an FTBFS with glibc 2.27 onwards, as SVID error handling has
been removed.
Author: Aurelien Jarno <aurel32@debian.org>
Last-Update: 2018-02-12
--- libcgns-3.3.0.orig/src/cgnstools/cgnscalc/calcwish.c
+++ libcgns-3.3.0/src/cgnstools/cgnscalc/calcwish.c
@@ -15,14 +15,6 @@
#include "tk.h"
#include "locale.h"
-/*
- * The following variable is a special hack that is needed in order for
- * Sun shared libraries to be used for Tcl.
- */
-
-extern int matherr();
-int *tclDummyMathPtr = (int *) matherr;
-
#ifdef TK_TEST
extern int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp));
extern int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp));
--- libcgns-3.3.0.orig/src/cgnstools/cgnsplot/plotwish.c
+++ libcgns-3.3.0/src/cgnstools/cgnsplot/plotwish.c
@@ -15,14 +15,6 @@
#include "tk.h"
#include "locale.h"
-/*
- * The following variable is a special hack that is needed in order for
- * Sun shared libraries to be used for Tcl.
- */
-
-extern int matherr();
-int *tclDummyMathPtr = (int *) matherr;
-
extern int Cgnstcl_Init _ANSI_ARGS_((Tcl_Interp *interp));
extern int Tkogl_Init _ANSI_ARGS_((Tcl_Interp *interp));
--- libcgns-3.3.0.orig/src/cgnstools/cgnsview/cgiowish.c
+++ libcgns-3.3.0/src/cgnstools/cgnsview/cgiowish.c
@@ -15,14 +15,6 @@
#include "tk.h"
#include "locale.h"
-/*
- * The following variable is a special hack that is needed in order for
- * Sun shared libraries to be used for Tcl.
- */
-
-extern int matherr();
-int *tclDummyMathPtr = (int *) matherr;
-
#ifdef TK_TEST
extern int Tcltest_Init _ANSI_ARGS_((Tcl_Interp *interp));
extern int Tktest_Init _ANSI_ARGS_((Tcl_Interp *interp));
|