1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/audio/speak_freely/files/patch-ac
Jacques Vidrine df6c60dbb4 Redefine sendfile as sf_sendfile to work around namespace pollution.
Noticed by: Oleg Ogurok <oleg@ogurok.com>
1998-12-16 04:29:08 +00:00

21 lines
479 B
Plaintext

--- 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);
}
}
}