summaryrefslogtreecommitdiffstats
path: root/mbone
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>1998-12-16 04:29:08 +0000
committernectar <nectar@FreeBSD.org>1998-12-16 04:29:08 +0000
commitf8d0f1c963e424a3030026cfb3b4a510358ab40c (patch)
treecce983e341a71e807665fdce3ab81b1cb6a5312d /mbone
parent67d50a04112fdf6aab29a42cdec950727c89722b (diff)
downloadFreeBSD-ports-f8d0f1c963e424a3030026cfb3b4a510358ab40c.zip
FreeBSD-ports-f8d0f1c963e424a3030026cfb3b4a510358ab40c.tar.gz
Redefine sendfile as sf_sendfile to work around namespace pollution.
Noticed by: Oleg Ogurok <oleg@ogurok.com>
Diffstat (limited to 'mbone')
-rw-r--r--mbone/speak_freely/files/patch-ac34
1 files changed, 20 insertions, 14 deletions
diff --git a/mbone/speak_freely/files/patch-ac b/mbone/speak_freely/files/patch-ac
index e4c8ee8..94ed400 100644
--- a/mbone/speak_freely/files/patch-ac
+++ b/mbone/speak_freely/files/patch-ac
@@ -1,14 +1,20 @@
-*** mike.c.orig Tue Apr 23 14:45:52 1996
---- mike.c Fri Oct 25 19:11:15 1996
-***************
-*** 687,692 ****
---- 687,695 ----
- (sb->buffer.buffer_len > 16)) {
- pktlen += sizeof(sb->sendinghost);
- }
-+ /* must stay in network order for debugging output */
-+ sb->compression = htonl(sb->compression);
-+ sb->buffer.buffer_len = htonl(sb->buffer.buffer_len);
- }
- }
- }
+--- mike.c.orig Wed Mar 5 14:08:20 1997
++++ mike.c Tue Dec 15 22:21:32 1998
+@@ -8,6 +8,7 @@
+ */
+
+ #include "speakfree.h"
++#define sendfile sf_sendfile
+
+ /* Destination host descriptor. */
+
+@@ -687,6 +688,9 @@
+ (sb->buffer.buffer_len > 16)) {
+ pktlen += sizeof(sb->sendinghost);
+ }
++ /* must stay in network order for debugging output */
++ sb->compression = htonl(sb->compression);
++ sb->buffer.buffer_len = htonl(sb->buffer.buffer_len);
+ }
+ }
+ }
OpenPOWER on IntegriCloud