Line 0
Link Here
|
|
|
1 |
--- xtrans-X11R7.0-1.0.0/Xtranssock.c.orig 2013-01-28 17:29:24.000000000 +0100 |
2 |
+++ xtrans-X11R7.0-1.0.0/Xtranssock.c 2016-02-14 17:33:06.948806000 +0100 |
3 |
@@ -286,11 +286,13 @@ static int TRANS(SocketINETClose) (Xtran |
4 |
* that don't have IPv6 support. |
5 |
*/ |
6 |
#if defined(IPv6) && defined(AF_INET6) |
7 |
+#ifndef __FreeBSD__ |
8 |
static const struct in6_addr local_in6addr_any = IN6ADDR_ANY_INIT; |
9 |
#pragma weak in6addr_any = local_in6addr_any |
10 |
#ifndef __USLC__ |
11 |
#pragma weak getaddrinfo |
12 |
#endif |
13 |
+#endif |
14 |
static int haveIPv6 = 1; |
15 |
#endif |
16 |
|