summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-09-20 01:07:26 +0000
committerSteve Price <steve@FreeBSD.org>1999-09-20 01:07:26 +0000
commit2286c1ecae6482bdae394b3ca2df5c98baaa8ff8 (patch)
tree2101582a65d64ea078a3fd9b624d13ddefc94fac /audio
parentMark this port as being only for i386. (diff)
Don't define time(3) as returning a long so that this builds on
FreeBSD/Alpha.
Notes
Notes: svn path=/head/; revision=21786
Diffstat (limited to 'audio')
-rw-r--r--audio/radio/files/patch-ab20
1 files changed, 16 insertions, 4 deletions
diff --git a/audio/radio/files/patch-ab b/audio/radio/files/patch-ab
index fbfb77ce67d4..0545c90218ea 100644
--- a/audio/radio/files/patch-ab
+++ b/audio/radio/files/patch-ab
@@ -1,5 +1,17 @@
-*** broadcast.c.orig Mon May 17 01:46:22 1993
---- broadcast.c Sat Jun 19 02:36:48 1999
+*** broadcast.c.orig Mon May 17 03:46:22 1993
+--- broadcast.c Sat Sep 18 15:07:04 1999
+***************
+*** 68,74 ****
+--- 68,76 ----
+ #include <sys/time.h>
+ #include <sys/stat.h>
+
++ #ifndef __FreeBSD__
+ extern long time();
++ #endif
+
+ #ifdef SUNHACKS
+ #include <sys/sockio.h> /* For SIOCGIF* */
***************
*** 490,496 ****
for (i = 0; i < nbcaddr; i++) {
@@ -9,7 +21,7 @@
HEADERSIZE+n) {
perror("sendto");
}
---- 490,496 ----
+--- 492,498 ----
for (i = 0; i < nbcaddr; i++) {
/* Send data packets to all bcast ports */
if (sendto(s, real_buf, HEADERSIZE+n, 0,
@@ -26,7 +38,7 @@
if (n < 0) {
perror("recvfrom");
exit(1);
---- 522,528 ----
+--- 524,530 ----
if (select(ctls+1, &inputav, 0, 0, &zerotime) == 1) {
ctlsinsize = sizeof(ctlsin);
n = recvfrom(ctls, buf, BUFFERSIZE, 0,