summaryrefslogtreecommitdiffstats
path: root/www/monkey
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2005-07-30 21:56:44 +0000
committerclement <clement@FreeBSD.org>2005-07-30 21:56:44 +0000
commit4637a12827d76a379d98a5b0940e2ccbf4d78148 (patch)
tree51a1a89cd3a4eef118bbf4aa57d4d5c9cbd38b4d /www/monkey
parent09ded0dc0315cc03da57d3418e449db46f764521 (diff)
downloadFreeBSD-ports-4637a12827d76a379d98a5b0940e2ccbf4d78148.zip
FreeBSD-ports-4637a12827d76a379d98a5b0940e2ccbf4d78148.tar.gz
- Fix build on 4.x
PR: ports/83660 Submitted by: Andrej Zverev <az@inec.ru>
Diffstat (limited to 'www/monkey')
-rw-r--r--www/monkey/Makefile4
-rw-r--r--www/monkey/files/patch-src-user.c10
2 files changed, 10 insertions, 4 deletions
diff --git a/www/monkey/Makefile b/www/monkey/Makefile
index 2acf706..e4482dd 100644
--- a/www/monkey/Makefile
+++ b/www/monkey/Makefile
@@ -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
diff --git a/www/monkey/files/patch-src-user.c b/www/monkey/files/patch-src-user.c
new file mode 100644
index 0000000..ee4e5a2
--- /dev/null
+++ b/www/monkey/files/patch-src-user.c
@@ -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"
OpenPOWER on IntegriCloud