summaryrefslogtreecommitdiff
path: root/lang/tcl-tclX/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'lang/tcl-tclX/patches/patch-ak')
-rw-r--r--lang/tcl-tclX/patches/patch-ak15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/tcl-tclX/patches/patch-ak b/lang/tcl-tclX/patches/patch-ak
new file mode 100644
index 00000000000..6efc937b757
--- /dev/null
+++ b/lang/tcl-tclX/patches/patch-ak
@@ -0,0 +1,15 @@
+$NetBSD: patch-ak,v 1.1 2006/01/11 21:32:02 joerg Exp $
+
+--- ../tk/unix/tkXunixTest.c.orig 2006-01-11 21:18:21.000000000 +0000
++++ ../tk/unix/tkXunixTest.c
+@@ -29,8 +29,10 @@ Tktest_Init _ANSI_ARGS_((Tcl_Interp *int
+ * Even if matherr is not used on this system, there is a dummy version
+ * in libtcl.
+ */
++#if !defined(__DragonFly__)
+ extern int matherr ();
+ int (*tclDummyMathPtr)() = matherr;
++#endif
+
+
+ /*