aboutsummaryrefslogtreecommitdiff
path: root/cad/netgen/files
diff options
context:
space:
mode:
Diffstat (limited to 'cad/netgen/files')
-rw-r--r--cad/netgen/files/patch-ngtcltk::ngappinit.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/cad/netgen/files/patch-ngtcltk::ngappinit.cpp b/cad/netgen/files/patch-ngtcltk::ngappinit.cpp
index 2144eca15caa..ff08b1149422 100644
--- a/cad/netgen/files/patch-ngtcltk::ngappinit.cpp
+++ b/cad/netgen/files/patch-ngtcltk::ngappinit.cpp
@@ -14,13 +14,12 @@
namespace netgen
{
-@@ -26,7 +28,7 @@
+@@ -26,7 +28,5 @@
* The following variable is a special hack that is needed in order for
* Sun shared libraries to be used for Tcl.
*/
-// extern "C" int matherr();
-+extern "C" int matherr();
- int *tclDummyMathPtr = (int *) matherr;
+-int *tclDummyMathPtr = (int *) matherr;
@@ -194,8 +196,9 @@