pkgsrc-wip/dmd/patches/patch-ag

14 lines
482 B
Plaintext

$NetBSD: patch-ag,v 1.1.1.1 2011/02/16 17:10:41 thomasklausner Exp $
--- src/dmd/root/root.c.orig 2010-12-20 20:02:36.000000000 +0000
+++ src/dmd/root/root.c
@@ -7,7 +7,7 @@
// in artistic.txt, or the GNU General Public License in gnu.txt.
// See the included readme.txt for details.
-#define POSIX (linux || __APPLE__ || __FreeBSD__ || __sun&&__SVR4)
+#define POSIX (linux || __APPLE__ || __FreeBSD__ || __sun&&__SVR4 || __NetBSD__)
#include <stdio.h>
#include <stdlib.h>