aboutsummaryrefslogtreecommitdiffstats
path: root/audio/radio
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-09-20 09:07:26 +0800
committersteve <steve@FreeBSD.org>1999-09-20 09:07:26 +0800
commitc756ce7386b7f0a110ea1861e1d8a36a4a658d67 (patch)
tree12aaec73368922e396d5f8d2279c02f0e137d1b2 /audio/radio
parentc5b845532d4eee5822056ba763e7db16677cc51c (diff)
downloadfreebsd-ports-gnome-c756ce7386b7f0a110ea1861e1d8a36a4a658d67.tar.gz
freebsd-ports-gnome-c756ce7386b7f0a110ea1861e1d8a36a4a658d67.tar.zst
freebsd-ports-gnome-c756ce7386b7f0a110ea1861e1d8a36a4a658d67.zip
Don't define time(3) as returning a long so that this builds on
FreeBSD/Alpha.
Diffstat (limited to 'audio/radio')
-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,