Patch aops.c for a header problem. Remove BROKEN line.
reported by: kris
This commit is contained in:
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
|
@ -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
|
||||
|
||||
|
|
16
audio/csound/files/patch-aops.c
Normal file
16
audio/csound/files/patch-aops.c
Normal 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);
|
Loading…
Reference in a new issue