summaryrefslogtreecommitdiffstats
path: root/net/vino/files/patch-server_libvncserver_sockets.c
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-12-01 06:00:17 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-12-01 06:00:17 +0800
commit2e4d2e942a99fbc51adebabc4cd543a91491ba37 (patch)
tree5fb7c33c9eb700d394e22ec7c7faf4258b91ea3b /net/vino/files/patch-server_libvncserver_sockets.c
parent2d95636f2e1c4896bca367221f0b972b5903e72a (diff)
downloadmarcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar.gz
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar.bz2
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar.lz
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar.xz
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.tar.zst
marcuscom-ports-2e4d2e942a99fbc51adebabc4cd543a91491ba37.zip
Clean up after 2.32 got committed. Only gdm 2.32 isn't committed because of
focus issues. And it doesn't seem it getting any traction upstream. Next stop GNOME 3.0. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14916 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net/vino/files/patch-server_libvncserver_sockets.c')
-rw-r--r--net/vino/files/patch-server_libvncserver_sockets.c30
1 files changed, 0 insertions, 30 deletions
diff --git a/net/vino/files/patch-server_libvncserver_sockets.c b/net/vino/files/patch-server_libvncserver_sockets.c
deleted file mode 100644
index 348ea91d3..000000000
--- a/net/vino/files/patch-server_libvncserver_sockets.c
+++ /dev/null
@@ -1,30 +0,0 @@
---- server/libvncserver/sockets.c.orig 2009-02-13 08:11:38.000000000 -0500
-+++ server/libvncserver/sockets.c 2009-03-07 20:19:28.000000000 -0500
-@@ -668,6 +669,11 @@ NewSocketListenTCP(struct sockaddr *addr
- {
- int sock = -1;
- int one = 1;
-+#ifdef ENABLE_IPV6
-+#ifdef IPV6_V6ONLY
-+ int off = 0;
-+#endif
-+#endif
-
- if ((sock = socket(addr->sa_family, SOCK_STREAM, 0)) < 0)
- return -1;
-@@ -677,6 +683,15 @@ NewSocketListenTCP(struct sockaddr *addr
- return -1;
- }
-
-+#ifdef ENABLE_IPV6
-+#ifdef IPV6_V6ONLY
-+ if (setsockopt(sock, IPPROTO_IPV6, IPV6_V6ONLY, (void *)&off, sizeof(off)) < 0) {
-+ close(sock);
-+ return -1;
-+ }
-+#endif
-+#endif
-+
- if (bind(sock, addr, len) < 0) {
- close(sock);
- return -1;