diff options
Diffstat (limited to 'multimedia/tstools/patches/patch-tsserve.c')
-rw-r--r-- | multimedia/tstools/patches/patch-tsserve.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/tstools/patches/patch-tsserve.c b/multimedia/tstools/patches/patch-tsserve.c new file mode 100644 index 00000000000..b3f681fc2eb --- /dev/null +++ b/multimedia/tstools/patches/patch-tsserve.c @@ -0,0 +1,14 @@ +$NetBSD: patch-tsserve.c,v 1.1 2017/07/03 11:52:37 wiedi Exp $ + +no sin_len on SunOS +--- tsserve.c.orig 2008-11-06 23:15:49.000000000 +0000 ++++ tsserve.c +@@ -3041,7 +3041,7 @@ static int run_server(tsserve_context_p + + // Bind it to port `listen_port` on this machine + memset(&ipaddr,0,sizeof(ipaddr)); +-#if !defined(__linux__) && !defined(_WIN32) ++#if !defined(__linux__) && !defined(_WIN32) && !defined(__sun) + // On BSD, the length is defined in the datastructure + ipaddr.sin_len = sizeof(struct sockaddr_in); + #endif |