openbsd-ports/audio/esound/patches/patch-clients_c
jakemsr 2eebabbd75 - update to 0.2.41
- replace audio(4) backend with sio_open(3) (libsndio) backend

update by ajacoutot, new backend from me
2008-12-20 08:58:32 +00:00

16 lines
579 B
Plaintext

$OpenBSD: patch-clients_c,v 1.2 2008/12/20 08:58:32 jakemsr Exp $
--- clients.c.orig Sun Dec 14 13:33:21 2008
+++ clients.c Sun Dec 14 13:35:02 2008
@@ -143,9 +143,9 @@ int get_new_clients( int listen )
struct sockaddr_in incoming;
#if defined (ENABLE_IPV6)
struct sockaddr_in6 incoming6;
- size_t size_in6 = sizeof(struct sockaddr_in6);
+ socklen_t size_in6 = sizeof(struct sockaddr_in6);
#endif
- size_t size_in = sizeof(struct sockaddr_in);
+ socklen_t size_in = sizeof(struct sockaddr_in);
esd_client_t *new_client = NULL;
short port;