diff options
author | das <das@FreeBSD.org> | 2005-05-01 01:52:30 +0800 |
---|---|---|
committer | das <das@FreeBSD.org> | 2005-05-01 01:52:30 +0800 |
commit | 9b718a6a4d6a5e1ddf745ad5de2d9f9c1073bcdc (patch) | |
tree | 2004dd11f6f183a9366a2624f9929e634a880b3b /cad/netgen | |
parent | 1513fa4383e0e0dc0dfee157ec1ab1bf80e92d37 (diff) | |
download | freebsd-ports-graphics-9b718a6a4d6a5e1ddf745ad5de2d9f9c1073bcdc.tar.gz freebsd-ports-graphics-9b718a6a4d6a5e1ddf745ad5de2d9f9c1073bcdc.tar.zst freebsd-ports-graphics-9b718a6a4d6a5e1ddf745ad5de2d9f9c1073bcdc.zip |
Remove Tcl matherr() hack.
Diffstat (limited to 'cad/netgen')
-rw-r--r-- | cad/netgen/files/patch-ngtcltk::ngappinit.cpp | 5 |
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 2144eca15ca..ff08b114942 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 @@ |