- Unbreak on FreeBSD 5.x

PR:		ports/67400
Submitted by:	Andrey Slusar <vasallia@ukr.net>
This commit is contained in:
Pav Lucistnik 2004-05-31 11:45:43 +00:00
parent f1e287ac3c
commit 57136f7773
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110509
2 changed files with 12 additions and 8 deletions

View file

@ -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>

View file

@ -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"