diff options
author | wiz <wiz@pkgsrc.org> | 2002-05-11 18:10:43 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2002-05-11 18:10:43 +0000 |
commit | 35afee6566179efeb0a957d24cc5fd7c1d181caa (patch) | |
tree | 15c58f4600c48438295ed20c6c05f9dbd792494a /wm/wm2/patches | |
parent | 67551c065186847951bcc7af3e7a0309b2cd13e1 (diff) | |
download | pkgsrc-35afee6566179efeb0a957d24cc5fd7c1d181caa.tar.gz |
Fix compilation by not defining POSIX_SOURCE when obviously also
using non-POSIX functions. Closes pkg/16618.
Diffstat (limited to 'wm/wm2/patches')
-rw-r--r-- | wm/wm2/patches/patch-ac | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/wm/wm2/patches/patch-ac b/wm/wm2/patches/patch-ac new file mode 100644 index 00000000000..5f2f987c25d --- /dev/null +++ b/wm/wm2/patches/patch-ac @@ -0,0 +1,14 @@ +$NetBSD: patch-ac,v 1.1 2002/05/11 18:10:43 wiz Exp $ + +--- General.h.orig Fri Mar 21 12:12:30 1997 ++++ General.h +@@ -10,7 +10,9 @@ + #undef _POSIX_SOURCE + #endif + ++#if !defined(__FreeBSD__) && !defined(__NetBSD__) + #define _POSIX_SOURCE 1 ++#endif + + #include <stdio.h> + #include <signal.h> |