$NetBSD: patch-ag,v 1.4 2009/03/22 15:30:51 wiz Exp $

--- Src/DasherCore/DasherViewSquare.cpp.orig	2009-03-16 17:02:53.000000000 +0000
+++ Src/DasherCore/DasherViewSquare.cpp
@@ -41,7 +41,7 @@
 using namespace Dasher;
 
 // Track memory leaks on Windows to the line that new'd the memory
-#ifdef _WIN32
+#if defined(_WIN32) || defined(__DragonFly__)
 #ifdef _DEBUG_MEMLEAKS
 #define DEBUG_NEW new( _NORMAL_BLOCK, THIS_FILE, __LINE__ )
 #define new DEBUG_NEW
