diff options
author | tron <tron@pkgsrc.org> | 2000-08-01 21:59:25 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2000-08-01 21:59:25 +0000 |
commit | 306bd309ea3b943f6c42bfbef6b474b921a026f3 (patch) | |
tree | fe5a86cafc0dda7a55dba349f49573d8ff314d2c /news/knews/patches | |
parent | 500b3a1be8419284189d6df4e9f304d57fa970ae (diff) | |
download | pkgsrc-306bd309ea3b943f6c42bfbef6b474b921a026f3.tar.gz |
Skip bogus "POSIX_SOURCE" symbol definition under NetBSD because it
causes build failures under NetBSD 1.5A or newer.
Diffstat (limited to 'news/knews/patches')
-rw-r--r-- | news/knews/patches/patch-ae | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/news/knews/patches/patch-ae b/news/knews/patches/patch-ae new file mode 100644 index 00000000000..9816daec744 --- /dev/null +++ b/news/knews/patches/patch-ae @@ -0,0 +1,17 @@ +$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" + |