ports/83660: [fix] www/monkey build on 4.x

Andrej Zverev az at inec.ru
Mon Jul 18 11:00:41 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list