Patch aops.c for a header problem. Remove BROKEN line.

reported by:	kris
This commit is contained in:
Trevor Johnson 2001-03-15 14:34:35 +00:00
parent 7d1dcb9b45
commit 26c39274ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39887
2 changed files with 16 additions and 2 deletions

View file

@ -15,8 +15,6 @@ EXTRACT_ONLY= Csound${PORTVERSION}.tar.gz
MAINTAINER= trevor@FreeBSD.org
BROKEN= "Fails to compile"
LIB_DEPENDS= tcl83:${PORTSDIR}/lang/tcl83 \
tk83:${PORTSDIR}/x11-toolkits/tk83

View file

@ -0,0 +1,16 @@
--- aops.c.orig Thu Jan 4 03:48:26 2001
+++ aops.c Thu Mar 15 06:26:31 2001
@@ -1,3 +1,4 @@
+#include <sys/time.h>
#include "cs.h" /* AOPS.C */
#include "aops.h"
#include <math.h>
@@ -421,8 +422,6 @@
#ifdef LINUX
void rtclock(EVAL *p)
{
-#include <sys/time.h>
-#include <unistd.h>
struct timeval tv;
struct timezone tz;
gettimeofday(&tv, &tz);