pkgsrc/news/knews/patches/patch-ae
tron 306bd309ea Skip bogus "POSIX_SOURCE" symbol definition under NetBSD because it
causes build failures under NetBSD 1.5A or newer.
2000-08-01 21:59:25 +00:00

17 lines
388 B
Text

$NetBSD: patch-ae,v 1.4 2000/08/01 21:59:27 tron Exp $
--- src/global.h.orig Sat Nov 21 15:43:56 1998
+++ src/global.h Tue Aug 1 23:56:21 2000
@@ -2,10 +2,12 @@
* Copyright (C) 1995, 1996 Karl-Johan Johnsson.
*/
+#ifndef __NetBSD__
#undef _POSIX_SOURCE
#define _POSIX_SOURCE 1
#undef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 2
+#endif
#define KNEWS_VERSION "1.0b.1"