summaryrefslogtreecommitdiffstats
path: root/x11-wm/pawm
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2004-04-14 16:06:04 +0000
committertrevor <trevor@FreeBSD.org>2004-04-14 16:06:04 +0000
commit76b99a9048dec4d2179d2e730fbb3900422f9dfc (patch)
treef6779dff4f6d7b33e1c220e6cda3f0274368e17b /x11-wm/pawm
parent2d5481f8838b9d7eb6bc4995fe13974d6b990c0b (diff)
downloadFreeBSD-ports-76b99a9048dec4d2179d2e730fbb3900422f9dfc.zip
FreeBSD-ports-76b99a9048dec4d2179d2e730fbb3900422f9dfc.tar.gz
fix for 4-STABLE
Submitted by: vs
Diffstat (limited to 'x11-wm/pawm')
-rw-r--r--x11-wm/pawm/Makefile8
-rw-r--r--x11-wm/pawm/files/patch-src_wm.c17
2 files changed, 18 insertions, 7 deletions
diff --git a/x11-wm/pawm/Makefile b/x11-wm/pawm/Makefile
index 9c722fc..daeb96b 100644
--- a/x11-wm/pawm/Makefile
+++ b/x11-wm/pawm/Makefile
@@ -21,12 +21,6 @@ USE_BZIP2= yes
USE_GMAKE= yes
USE_X_PREFIX= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= "Does not compile on 4.x"
-.endif
-
do-configure:
cd ${WRKSRC} && \
bash ./0 --prefix=${PREFIX} --datadir=${PREFIX}/share/pawm
@@ -60,4 +54,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-wm/pawm/files/patch-src_wm.c b/x11-wm/pawm/files/patch-src_wm.c
new file mode 100644
index 0000000..7e06a18
--- /dev/null
+++ b/x11-wm/pawm/files/patch-src_wm.c
@@ -0,0 +1,17 @@
+$FreeBSD$
+
+Make ANSI C89/C90-compliant to compile with GCC 2.X.
+author: Volker Stolz
+
+--- src/wm.c.orig Wed Apr 14 16:32:24 2004
++++ src/wm.c Wed Apr 14 16:32:44 2004
+@@ -311,8 +311,8 @@
+
+ char *tmpvalue;
+
+- SAY ("Initializing window manager...");
+ int (*olderrorhandler) (Display *, XErrorEvent *);
++ SAY ("Initializing window manager...");
+
+ if (reference_count++) return !0;
+
OpenPOWER on IntegriCloud