1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-01 10:59:55 +00:00

- Fix build on 4.x

PR:             ports/83660
Submitted by:   Andrej Zverev <az@inec.ru>
This commit is contained in:
Clement Laforet 2005-07-30 21:56:44 +00:00
parent c149369e83
commit 580f0b6812
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=140501
2 changed files with 10 additions and 4 deletions

View File

@ -31,10 +31,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= "Does not compile on FreeBSD 4.x"
.endif
post-install:
@${INSTALL_SCRIPT} ${FILESDIR}/monkey.sh ${PREFIX}/etc/rc.d/monkey.sh.sample

View File

@ -0,0 +1,10 @@
--- src/user.c.orig Wed Apr 13 19:50:37 2005
+++ src/user.c Mon Jul 18 14:55:59 2005
@@ -23,6 +23,7 @@
#include <pwd.h>
#include <sys/types.h>
#include <unistd.h>
+#include <sys/time.h>
#include <sys/resource.h>
#include "monkey.h"