aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/x11rdp
diff options
context:
space:
mode:
authorRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-03-03 17:17:52 +0000
committerRaphael Kubo da Costa <rakuco@FreeBSD.org>2016-03-03 17:17:52 +0000
commit2ad13f33ec3e6d1f0fbeae5a62069d69270ca18f (patch)
tree75c7851d5e3e162e85cbc307a458384da15cb72a /x11-servers/x11rdp
parentb3a281dec2b6502b94db2f96eb23064f36368f71 (diff)
downloadports-2ad13f33ec3e6d1f0fbeae5a62069d69270ca18f.tar.gz
ports-2ad13f33ec3e6d1f0fbeae5a62069d69270ca18f.zip
Notes
Diffstat (limited to 'x11-servers/x11rdp')
-rw-r--r--x11-servers/x11rdp/files/patch-xtrans-X11R7.0-1.0.0__Xtranssock.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/x11-servers/x11rdp/files/patch-xtrans-X11R7.0-1.0.0__Xtranssock.c b/x11-servers/x11rdp/files/patch-xtrans-X11R7.0-1.0.0__Xtranssock.c
new file mode 100644
index 000000000000..da9d3c8b48e9
--- /dev/null
+++ b/x11-servers/x11rdp/files/patch-xtrans-X11R7.0-1.0.0__Xtranssock.c
@@ -0,0 +1,16 @@
+--- xtrans-X11R7.0-1.0.0/Xtranssock.c.orig 2013-01-28 17:29:24.000000000 +0100
++++ xtrans-X11R7.0-1.0.0/Xtranssock.c 2016-02-14 17:33:06.948806000 +0100
+@@ -286,11 +286,13 @@ static int TRANS(SocketINETClose) (Xtran
+ * that don't have IPv6 support.
+ */
+ #if defined(IPv6) && defined(AF_INET6)
++#ifndef __FreeBSD__
+ static const struct in6_addr local_in6addr_any = IN6ADDR_ANY_INIT;
+ #pragma weak in6addr_any = local_in6addr_any
+ #ifndef __USLC__
+ #pragma weak getaddrinfo
+ #endif
++#endif
+ static int haveIPv6 = 1;
+ #endif
+