$NetBSD: patch-at,v 1.1 2006/01/06 18:14:06 joerg Exp $

--- utils/getrect.c.orig	2005-12-20 16:47:57.000000000 +0000
+++ utils/getrect.c
@@ -92,6 +92,7 @@ GetRect(fin, skip, rect)
     register dir = 0x1;
 #endif
 
+#if !defined(__DragonFly__)
     if (FILE_CNT(fin) < RECTBUFTHRESHOLD) goto slow;
     /*
      * Fast version of GetRect -- read directly from buffer.
@@ -158,6 +159,8 @@ fastbad:
 
     /* Slow version of GetRect -- read via getc */
 slow:
+
+#endif /* __DragonFly__ */
     while (skip-- > 0)
 	(void) getc(fin);
 
