diff options
author | pav <pav@FreeBSD.org> | 2004-05-31 19:45:43 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-05-31 19:45:43 +0800 |
commit | 8bff8101e4b5df006ae3bc775702c351efddd150 (patch) | |
tree | 5a70ff4544da7c4c9607066a00ce8bfc9445b5f9 /x11-wm | |
parent | 739c4681ce7c7d3c49aa912a2e181e5d17457ddb (diff) | |
download | freebsd-ports-graphics-8bff8101e4b5df006ae3bc775702c351efddd150.tar.gz freebsd-ports-graphics-8bff8101e4b5df006ae3bc775702c351efddd150.tar.zst freebsd-ports-graphics-8bff8101e4b5df006ae3bc775702c351efddd150.zip |
- Unbreak on FreeBSD 5.x
PR: ports/67400
Submitted by: Andrey Slusar <vasallia@ukr.net>
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/hackedbox/Makefile | 10 | ||||
-rw-r--r-- | x11-wm/hackedbox/files/patch-src-Window.cc | 10 |
2 files changed, 12 insertions, 8 deletions
diff --git a/x11-wm/hackedbox/Makefile b/x11-wm/hackedbox/Makefile index 86fde9e9091..793246d2628 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 00000000000..cdbf936a1ab --- /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" |