diff options
author | nectar <nectar@FreeBSD.org> | 1998-12-16 12:29:08 +0800 |
---|---|---|
committer | nectar <nectar@FreeBSD.org> | 1998-12-16 12:29:08 +0800 |
commit | f8d0f1c963e424a3030026cfb3b4a510358ab40c (patch) | |
tree | cce983e341a71e807665fdce3ab81b1cb6a5312d /mbone | |
parent | 67d50a04112fdf6aab29a42cdec950727c89722b (diff) | |
download | freebsd-ports-gnome-f8d0f1c963e424a3030026cfb3b4a510358ab40c.tar.gz freebsd-ports-gnome-f8d0f1c963e424a3030026cfb3b4a510358ab40c.tar.zst freebsd-ports-gnome-f8d0f1c963e424a3030026cfb3b4a510358ab40c.zip |
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-ac | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/mbone/speak_freely/files/patch-ac b/mbone/speak_freely/files/patch-ac index e4c8ee876155..94ed40050744 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); + } + } + } |