diff options
author | fredb <fredb@pkgsrc.org> | 2002-04-15 20:42:22 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2002-04-15 20:42:22 +0000 |
commit | 13e1d5b88ff0a4c3385b005fca611a362bdb12b7 (patch) | |
tree | e0d816ef0f6aea8b1911c72ca1a6700ebaeb7008 /wm/wmx/patches | |
parent | ddb851438358785b20dde41d3ad15aadf5b5a35e (diff) | |
download | pkgsrc-13e1d5b88ff0a4c3385b005fca611a362bdb12b7.tar.gz |
Make this build on NetBSD-1.5ZC. Include <stdlib.h> to get prototype for
putenv(), and don't set _POSIX_SOURCE.
Diffstat (limited to 'wm/wmx/patches')
-rw-r--r-- | wm/wmx/patches/patch-ad | 13 | ||||
-rw-r--r-- | wm/wmx/patches/patch-ae | 12 |
2 files changed, 25 insertions, 0 deletions
diff --git a/wm/wmx/patches/patch-ad b/wm/wmx/patches/patch-ad new file mode 100644 index 00000000000..4a18aac233e --- /dev/null +++ b/wm/wmx/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2002/04/15 20:42:22 fredb Exp $ + +--- General.h.orig Thu May 11 05:37:35 2000 ++++ General.h +@@ -11,7 +11,7 @@ + #undef _POSIX_SOURCE + #endif + +-#ifndef __FreeBSD__ ++#if !defined(__FreeBSD__) && !defined(__NetBSD__) + #define _POSIX_SOURCE 1 + #endif + diff --git a/wm/wmx/patches/patch-ae b/wm/wmx/patches/patch-ae new file mode 100644 index 00000000000..36254584e1f --- /dev/null +++ b/wm/wmx/patches/patch-ae @@ -0,0 +1,12 @@ +$NetBSD: patch-ae,v 1.1 2002/04/15 20:42:22 fredb Exp $ + +--- Manager.C.orig Mon Apr 23 04:10:42 2001 ++++ Manager.C +@@ -7,6 +7,7 @@ + #include <X11/Xlocale.h> + #endif + ++#include <stdlib.h> + #include <string.h> + #include <X11/Xproto.h> + #include <X11/keysym.h> |