diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 1998-12-16 04:29:08 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 1998-12-16 04:29:08 +0000 |
commit | df6c60dbb4be280300cec2683ede560531a91d1e (patch) | |
tree | 22c2bb8d034eeeb56f81490514ddf46653c4af59 /audio/speak_freely/files | |
parent | Upgrade to 1.36.31 (diff) |
Redefine sendfile as sf_sendfile to work around namespace pollution.
Noticed by: Oleg Ogurok <oleg@ogurok.com>
Notes
Notes:
svn path=/head/; revision=15375
Diffstat (limited to 'audio/speak_freely/files')
-rw-r--r-- | audio/speak_freely/files/patch-ac | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/audio/speak_freely/files/patch-ac b/audio/speak_freely/files/patch-ac index e4c8ee876155..94ed40050744 100644 --- a/audio/speak_freely/files/patch-ac +++ b/audio/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); + } + } + } |