mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Unbreak on FreeBSD 5.x
PR: ports/67400 Submitted by: Andrey Slusar <vasallia@ukr.net>
This commit is contained in:
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
|
@ -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>
|
||||
|
|
10
x11-wm/hackedbox/files/patch-src-Window.cc
Normal file
10
x11-wm/hackedbox/files/patch-src-Window.cc
Normal 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"
|
Loading…
Add table
Reference in a new issue