summaryrefslogtreecommitdiff
path: root/wm/wm2/patches/patch-ac
diff options
context:
space:
mode:
authorwiz <wiz>2002-05-11 18:10:43 +0000
committerwiz <wiz>2002-05-11 18:10:43 +0000
commit2291eded8e804f72cf7816a5c86146af5e8d5160 (patch)
tree15c58f4600c48438295ed20c6c05f9dbd792494a /wm/wm2/patches/patch-ac
parent3b3de0b1b58785d973d630a74b6840e2a84232e5 (diff)
downloadpkgsrc-2291eded8e804f72cf7816a5c86146af5e8d5160.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/patch-ac')
-rw-r--r--wm/wm2/patches/patch-ac14
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>