Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jul 2005 14:59:50 +0400
From:      Andrej Zverev <az@inec.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/83660: [fix] www/monkey build on 4.x
Message-ID:  <E1DuTLi-000L4n-F7@az.inec.ru>
Resent-Message-ID: <200507181100.j6IB0elq096969@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         83660
>Category:       ports
>Synopsis:       [fix] www/monkey build on 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 18 11:00:40 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andrej Zverev
>Release:        FreeBSD 5.4-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD az.inec.ru 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #1: Mon May 23 20:34:48 MSD 2005 az@az.inec.ru:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:

	

--- monkey.diff begins here ---
diff -Nru monkey.orig/Makefile monkey/Makefile
--- monkey.orig/Makefile	Sun May 22 14:26:08 2005
+++ monkey/Makefile	Mon Jul 18 14:51:45 2005
@@ -31,10 +31,6 @@
 
 .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 -Nru monkey.orig/files/patch-src-user.c monkey/files/patch-src-user.c
--- monkey.orig/files/patch-src-user.c	Thu Jan  1 03:00:00 1970
+++ monkey/files/patch-src-user.c	Mon Jul 18 14:56:14 2005
@@ -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"
--- monkey.diff ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1DuTLi-000L4n-F7>