From 7a7d25199300e1c3193656f16be6dbdbfdf05fd3 Mon Sep 17 00:00:00 2001 From: David Schultz <das@FreeBSD.org> Date: Sat, 30 Apr 2005 17:52:30 +0000 Subject: Remove Tcl matherr() hack. --- cad/netgen/files/patch-ngtcltk::ngappinit.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cad') 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 @@ -- cgit debian/1.2.3+git2.25.1-1-2-gaceb0