diff options
author | David Schultz <das@FreeBSD.org> | 2005-02-20 00:29:40 +0000 |
---|---|---|
committer | David Schultz <das@FreeBSD.org> | 2005-02-20 00:29:40 +0000 |
commit | 3e878728b6f2a233820430cb70171be17bc5bd6a (patch) | |
tree | a3e5c890394d4d0fc763362ce655bc8ef1d01ae2 /x11-toolkits/tix/files/patch-af | |
parent | Update to wmweather 2.4.3 (diff) |
Remove more copies of Tcl's SunOS shared library hack.
It's worth pointing out that the Tcl project used to
*recommend* that application writers copy this kludge.
These ports work fine with Tcl 8.3, which provided a fake
matherr() even if the OS didn't, but here's what the
Tcl 8.4 changelog has to say:
2002-05-31 (dead code)[474335,555635] removed all use of matherr() (english)
*** POTENTIAL INCOMPATIBILITY ***
The following lines can be safely removed from any application that
has them, unless compatibility with SunOS 4.X is desired.
extern int matherr();
int *tclDummyMathPtr = (int *) matherr;
The build problems were pointed out by Kris, as usual. ;-)
Notes
Notes:
svn path=/head/; revision=129328
Diffstat (limited to 'x11-toolkits/tix/files/patch-af')
-rw-r--r-- | x11-toolkits/tix/files/patch-af | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-toolkits/tix/files/patch-af b/x11-toolkits/tix/files/patch-af new file mode 100644 index 000000000000..c72933c2773e --- /dev/null +++ b/x11-toolkits/tix/files/patch-af @@ -0,0 +1,16 @@ +--- tixAppInit.c.orig Sat Feb 19 18:28:15 2005 ++++ tixAppInit.c Sat Feb 19 18:28:23 2005 +@@ -22,13 +22,6 @@ + #include "itk.h" + #include <tix.h> + +-/* +- * The following variable is a special hack that is needed in order for +- * Sun shared libraries to be used for Tcl. +- */ +- +-extern int matherr(); +-int *tclDummyMathPtr = (int *) matherr; + + /* + *---------------------------------------------------------------------- |