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 /palm | |
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 'palm')
-rw-r--r-- | palm/pilot-link-devel/files/patch-ac | 17 | ||||
-rw-r--r-- | palm/pilot-link/files/patch-ac | 17 |
2 files changed, 34 insertions, 0 deletions
diff --git a/palm/pilot-link-devel/files/patch-ac b/palm/pilot-link-devel/files/patch-ac new file mode 100644 index 000000000000..c0f239e99c7f --- /dev/null +++ b/palm/pilot-link-devel/files/patch-ac @@ -0,0 +1,17 @@ +--- bindings/Tcl/tclAppInit.c.orig Sat Feb 19 19:14:05 2005 ++++ bindings/Tcl/tclAppInit.c Sat Feb 19 19:14:16 2005 +@@ -15,14 +15,6 @@ + + #include "tcl.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; +- + EXTERN int Pitcl_Init _ANSI_ARGS_((Tcl_Interp *interp)); + + #ifdef TCL_TEST diff --git a/palm/pilot-link/files/patch-ac b/palm/pilot-link/files/patch-ac new file mode 100644 index 000000000000..c0f239e99c7f --- /dev/null +++ b/palm/pilot-link/files/patch-ac @@ -0,0 +1,17 @@ +--- bindings/Tcl/tclAppInit.c.orig Sat Feb 19 19:14:05 2005 ++++ bindings/Tcl/tclAppInit.c Sat Feb 19 19:14:16 2005 +@@ -15,14 +15,6 @@ + + #include "tcl.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; +- + EXTERN int Pitcl_Init _ANSI_ARGS_((Tcl_Interp *interp)); + + #ifdef TCL_TEST |