pkgsrc/graphics/dx/patches/patch-ad
2006-04-28 20:33:30 +00:00

13 lines
430 B
Text

$NetBSD: patch-ad,v 1.4 2006/04/28 20:33:30 joerg Exp $
--- include/dx/arch.h.orig 2003-07-12 00:12:02.000000000 +0000
+++ include/dx/arch.h 2004-04-20 19:22:51.000000000 +0000
@@ -180,7 +180,7 @@
/*
* FreeBSD (and probably NetBSD and OpenBSD)
*/
-#if defined(freebsd)
+#if defined(freebsd) || defined(__NetBSD__) || defined(__DragonFly__)
#undef F_CHAR_READY
#define F_CHAR_READY(fp) ((fp)->_r > 0 || (fp)->_ub._base)