aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2005-05-01 01:52:30 +0800
committerdas <das@FreeBSD.org>2005-05-01 01:52:30 +0800
commit9b718a6a4d6a5e1ddf745ad5de2d9f9c1073bcdc (patch)
tree2004dd11f6f183a9366a2624f9929e634a880b3b /cad
parent1513fa4383e0e0dc0dfee157ec1ab1bf80e92d37 (diff)
downloadfreebsd-ports-gnome-9b718a6a4d6a5e1ddf745ad5de2d9f9c1073bcdc.tar.gz
freebsd-ports-gnome-9b718a6a4d6a5e1ddf745ad5de2d9f9c1073bcdc.tar.zst
freebsd-ports-gnome-9b718a6a4d6a5e1ddf745ad5de2d9f9c1073bcdc.zip
Remove Tcl matherr() hack.
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 @@