freebsd-ports/audio/festival/files/patch-an
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

13 lines
505 B
Text

passing `int *' as argument 3 of `getsockname(int, sockaddr *, socklen_t *)' changes signedness
--- speech_tools/utils/EST_ServiceTable.cc.orig Thu Nov 18 23:15:21 1999
+++ speech_tools/utils/EST_ServiceTable.cc Sun Jun 11 17:28:29 2000
@@ -296,7 +296,7 @@
// This only gets the port number
- if (getsockname(socket, (struct sockaddr *)&sin, SOCKLEN_CAST &size) != 0)
+ if (getsockname(socket, (struct sockaddr *)&sin, (socklen_t *) &size) != 0)
EST_sys_error("Can't find my address");