aboutsummaryrefslogtreecommitdiff
path: root/cad/netgen/files
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2005-04-30 17:52:30 +0000
committerDavid Schultz <das@FreeBSD.org>2005-04-30 17:52:30 +0000
commit7a7d25199300e1c3193656f16be6dbdbfdf05fd3 (patch)
tree0b92e08348ca500ac97842d2c6f491b67cfb80a3 /cad/netgen/files
parenta8435530eee58deaeb8a3042894761a3eced97a9 (diff)
downloadports-7a7d25199300e1c3193656f16be6dbdbfdf05fd3.tar.gz
ports-7a7d25199300e1c3193656f16be6dbdbfdf05fd3.zip
Remove Tcl matherr() hack.
Notes
Notes: svn path=/head/; revision=134412
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 @@