summaryrefslogtreecommitdiff
path: root/cad
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
parentRemove pkg-plist and use PLIST_FILES (diff)
Remove Tcl matherr() hack.
Notes
Notes: svn path=/head/; revision=134412
Diffstat (limited to 'cad')
-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 @@