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 | |
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')
-rw-r--r-- | wm/wm2/distinfo | 3 | ||||
-rw-r--r-- | wm/wm2/patches/patch-ac | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/wm/wm2/distinfo b/wm/wm2/distinfo index 8318867ec6d..f0f05098e50 100644 --- a/wm/wm2/distinfo +++ b/wm/wm2/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.3 2001/08/29 22:41:25 jlam Exp $ +$NetBSD: distinfo,v 1.4 2002/05/11 18:10:43 wiz Exp $ SHA1 (wm2-4.tar.gz) = dd959e72eedca113b372ddf67b95260e25226a91 Size (wm2-4.tar.gz) = 32807 bytes SHA1 (patch-aa) = 3abf330bd012205dbb6eeff06b0be28fe27835d3 SHA1 (patch-ab) = 047f72483a5f7d250742a5d53aa8a48ca123558e +SHA1 (patch-ac) = a944150c5e3b6fb82e7cb630e8289a91dcbf4639 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> |