summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorsalo <salo>2003-07-10 19:41:20 +0000
committersalo <salo>2003-07-10 19:41:20 +0000
commit03c1d8c62ba16e28c8bf755b72acc3c79b5bc362 (patch)
tree8961ac3d969e9ae25bb45c3f4aa37e4c9ad7fc06 /wm
parent78a6c4370603b9096a9e776453b8708497a9d0a8 (diff)
downloadpkgsrc-03c1d8c62ba16e28c8bf755b72acc3c79b5bc362.tar.gz
Remove some gccisms and enable POSIX/XOPEN_SOURCE defines.
Compiles on Solaris with a native compiler.
Diffstat (limited to 'wm')
-rw-r--r--wm/pwm/distinfo4
-rw-r--r--wm/pwm/patches/patch-ag32
2 files changed, 29 insertions, 7 deletions
diff --git a/wm/pwm/distinfo b/wm/pwm/distinfo
index 15ea0f00a02..7fbbee4e5e6 100644
--- a/wm/pwm/distinfo
+++ b/wm/pwm/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.11 2003/06/13 03:55:17 jlam Exp $
+$NetBSD: distinfo,v 1.12 2003/07/10 19:41:20 salo Exp $
SHA1 (pwm-20030528.tar.gz) = 36445864c5a2e19c35d7eb49ca5572651f4588d2
Size (pwm-20030528.tar.gz) = 151869 bytes
SHA1 (patch-aa) = 51351dfdd1e250dc02023789c06a49fba3f8cf50
SHA1 (patch-ac) = 793f1348e45a6ee3e21b5fa5ff02b00d1dd48ef1
SHA1 (patch-af) = 1f302ae3b78c436bd5170dea55e77e8e00f789d0
-SHA1 (patch-ag) = a3cdb027bcec59df87c55d5324b7ffc910aad3d2
+SHA1 (patch-ag) = d60706577c14b194a6207b00a2a16824ad97ee21
SHA1 (patch-ah) = 146a957d385cfc70322ffd2c2ddf10238e2960bc
diff --git a/wm/pwm/patches/patch-ag b/wm/pwm/patches/patch-ag
index 17ef16cb45e..8677151c72c 100644
--- a/wm/pwm/patches/patch-ag
+++ b/wm/pwm/patches/patch-ag
@@ -1,7 +1,7 @@
-$NetBSD: patch-ag,v 1.4 2003/06/01 16:17:02 salo Exp $
+$NetBSD: patch-ag,v 1.5 2003/07/10 19:41:20 salo Exp $
---- system.mk.orig 2000-12-28 15:08:05.000000000 +0100
-+++ system.mk 2003-06-01 17:34:51.000000000 +0200
+--- system.mk.orig Thu Dec 28 15:08:05 2000
++++ system.mk Thu Jul 10 21:30:50 2003
@@ -7,13 +7,13 @@
## Installation paths
##
@@ -37,13 +37,35 @@ $NetBSD: patch-ag,v 1.4 2003/06/01 16:17:02 salo Exp $
# The POSIX_SOURCE, XOPEN_SOURCE and WARN options should not be necessary,
# they're mainly for development use. So, if they cause trouble (not
-@@ -67,8 +67,8 @@
+@@ -49,7 +49,7 @@
+
+ # libtu/ uses POSIX_SOURCE
+
+-POSIX_SOURCE=-ansi -D_POSIX_SOURCE
++POSIX_SOURCE=-D_POSIX_SOURCE
+
+ # and . (ion) XOPEN_SOURCE.
+ # There is variation among systems what should be used and how they interpret
+@@ -56,19 +56,19 @@
+ # it so it is perhaps better not using anything at all.
+
+ # Most systems
+-#XOPEN_SOURCE=-ansi -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED
++XOPEN_SOURCE=-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D__EXTENSIONS__
+ # sunos, (irix)
+ #XOPEN_SOURCE=-ansi -D__EXTENSIONS__
+
+ # Same as '-Wall -pedantic-errors' without '-Wunused' as callbacks often
+ # have unused variables.
+-WARN= -W -Wimplicit -Wreturn-type -Wswitch -Wcomment \
++#WARN= -W -Wimplicit -Wreturn-type -Wswitch -Wcomment \
+ -Wtrigraphs -Wformat -Wchar-subscripts \
-Wparentheses -pedantic-errors -Wuninitialized
-CFLAGS=-g -O2 $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
-LDFLAGS=-g $(LIBS) $(EXTRA_LIBS)
-+CFLAGS+=-g -O2 $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
++CFLAGS+=-g $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
+LDFLAGS+=-g $(LIBS) $(EXTRA_LIBS)