summaryrefslogtreecommitdiff
path: root/lang/tcl-tclX/patches/patch-ak
blob: 6efc937b757aeae5ee979ec95c062ed39cf87cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
 
 
 /*