$NetBSD$

--- ../tcl/unix/tclXAppInit.c.orig	2006-01-11 18:50:33.000000000 +0000
+++ ../tcl/unix/tclXAppInit.c
@@ -25,8 +25,10 @@
  * 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
 
 
 /*-----------------------------------------------------------------------------
