summaryrefslogtreecommitdiff
path: root/wm/pwm/patches
diff options
context:
space:
mode:
authorsalo <salo>2004-04-10 20:42:11 +0000
committersalo <salo>2004-04-10 20:42:11 +0000
commitc0491df759293d019bdf213fc281f2e51233fefc (patch)
treeb23c0f242a154a88b712e2569518040c64df9614 /wm/pwm/patches
parent91097a0f6720f5baf2ba20ce23c4d61a962ab1ff (diff)
downloadpkgsrc-c0491df759293d019bdf213fc281f2e51233fefc.tar.gz
Define _ISOC99_SOURCE for libtu, so NetBSD has the chance to get the correct
definition of va_copy from own headers. Should fix building on amd64. Per discussion with kristerw@.
Diffstat (limited to 'wm/pwm/patches')
-rw-r--r--wm/pwm/patches/patch-ag4
1 files changed, 2 insertions, 2 deletions
diff --git a/wm/pwm/patches/patch-ag b/wm/pwm/patches/patch-ag
index 8677151c72c..f95fee48c94 100644
--- a/wm/pwm/patches/patch-ag
+++ b/wm/pwm/patches/patch-ag
@@ -1,4 +1,4 @@
-$NetBSD: patch-ag,v 1.5 2003/07/10 19:41:20 salo Exp $
+$NetBSD: patch-ag,v 1.6 2004/04/10 20:42:11 salo Exp $
--- system.mk.orig Thu Dec 28 15:08:05 2000
+++ system.mk Thu Jul 10 21:30:50 2003
@@ -42,7 +42,7 @@ $NetBSD: patch-ag,v 1.5 2003/07/10 19:41:20 salo Exp $
# libtu/ uses POSIX_SOURCE
-POSIX_SOURCE=-ansi -D_POSIX_SOURCE
-+POSIX_SOURCE=-D_POSIX_SOURCE
++POSIX_SOURCE=-D_POSIX_SOURCE -D_ISOC99_SOURCE
# and . (ion) XOPEN_SOURCE.
# There is variation among systems what should be used and how they interpret