1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/audio/festival/files/patch-ao
Will Andrews bab74078a9 Add festival 1.4.1, a multi-lingual text-to-speech system for Unix. This
commit includes the various ports festival can work with.  Big thanks to
Trevor for putting in all the time to port these!

PR:		21182, 21183, 21184, 21185, 21186, 21187, 21188, 21189
		21190, 21191, 21192, 21193, 21194, 21195, 21196, 21197
		21198, 21199, 21200, 21201
Submitted by:	Trevor Johnson <trevor@jpj.net>
Obtained from:	NetBSD pkgsrc
2000-09-16 08:39:50 +00:00

14 lines
614 B
Plaintext

passing `int *' as argument 3 of `getpeername(int, sockaddr *, socklen_t *)' changes signedness
--- ./festival/src/arch/festival/server.cc.orig Thu Nov 18 23:46:47 1999
+++ ./festival/src/arch/festival/server.cc Sun Jun 11 17:48:45 2000
@@ -206,7 +206,7 @@
const char *client_hostnum;
const char *reason = "";
- getpeername(fd,(struct sockaddr *)&peer,SOCKLEN_CAST &addrlen);
+ getpeername(fd,(struct sockaddr *)&peer, (socklen_t *) &addrlen);
clienthost = gethostbyaddr((char *)&peer.sin_addr,
sizeof(peer.sin_addr),AF_INET);
client_hostnum = inet_ntoa(peer.sin_addr);