aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-05-31 11:45:43 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-05-31 11:45:43 +0000
commit57136f7773d883dd645a4aa6a336a9f26cf0ff1a (patch)
tree79909bc3ea290c940381d052b6d2c0f2ea07205e /x11-wm
parentf1e287ac3c751132a0a19c609fec7f7ce8637e04 (diff)
downloadports-57136f7773d883dd645a4aa6a336a9f26cf0ff1a.tar.gz
ports-57136f7773d883dd645a4aa6a336a9f26cf0ff1a.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/hackedbox/Makefile10
-rw-r--r--x11-wm/hackedbox/files/patch-src-Window.cc10
2 files changed, 12 insertions, 8 deletions
diff --git a/x11-wm/hackedbox/Makefile b/x11-wm/hackedbox/Makefile
index 86fde9e9091e..793246d2628f 100644
--- a/x11-wm/hackedbox/Makefile
+++ b/x11-wm/hackedbox/Makefile
@@ -28,13 +28,7 @@ USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-bg-utils
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile on FreeBSD ${OSVERSION}"
-.endif
-
-do-patch:
+pre-patch:
${REINPLACE_CMD} -e \
"s:/usr/local/share/hackedbox:${PREFIX}/share/hackedbox:g" \
${WRKSRC}/data/menu.in
@@ -97,4 +91,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11-wm/hackedbox/files/patch-src-Window.cc b/x11-wm/hackedbox/files/patch-src-Window.cc
new file mode 100644
index 000000000000..cdbf936a1ab7
--- /dev/null
+++ b/x11-wm/hackedbox/files/patch-src-Window.cc
@@ -0,0 +1,10 @@
+--- src/Window.cc.orig Tue Aug 27 01:28:07 2002
++++ src/Window.cc Mon May 31 13:34:45 2004
+@@ -44,6 +44,7 @@
+ #endif // HAVE_STDLIB_H
+ }
+
++#include <cassert>
+ #include "i18n.hh"
+ #include "blackbox.hh"
+ #include "GCCache.hh"