summaryrefslogtreecommitdiff
path: root/converters/xdeview
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2005-02-20 00:29:40 +0000
committerDavid Schultz <das@FreeBSD.org>2005-02-20 00:29:40 +0000
commit3e878728b6f2a233820430cb70171be17bc5bd6a (patch)
treea3e5c890394d4d0fc763362ce655bc8ef1d01ae2 /converters/xdeview
parentUpdate 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. ;-)
Diffstat (limited to 'converters/xdeview')
-rw-r--r--converters/xdeview/files/patch-ad17
1 files changed, 17 insertions, 0 deletions
diff --git a/converters/xdeview/files/patch-ad b/converters/xdeview/files/patch-ad
new file mode 100644
index 000000000000..9113510834a3
--- /dev/null
+++ b/converters/xdeview/files/patch-ad
@@ -0,0 +1,17 @@
+--- tcl/uutcl.c.orig Sat Feb 19 18:56:55 2005
++++ tcl/uutcl.c Sat Feb 19 18:57:08 2005
+@@ -48,14 +48,6 @@
+ #include <tcl.h>
+ #endif
+
+-/*
+- * 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;
+-
+ #include <uudeview.h>
+ #include <uuint.h>
+ #include <fptools.h>