summaryrefslogtreecommitdiff
path: root/net/tigervnc-devel/files/patch-unix_vncserver
diff options
context:
space:
mode:
Diffstat (limited to 'net/tigervnc-devel/files/patch-unix_vncserver')
-rw-r--r--net/tigervnc-devel/files/patch-unix_vncserver20
1 files changed, 0 insertions, 20 deletions
diff --git a/net/tigervnc-devel/files/patch-unix_vncserver b/net/tigervnc-devel/files/patch-unix_vncserver
deleted file mode 100644
index ed513542e04e..000000000000
--- a/net/tigervnc-devel/files/patch-unix_vncserver
+++ /dev/null
@@ -1,20 +0,0 @@
---- unix/vncserver.orig 2017-05-16 13:53:28 UTC
-+++ unix/vncserver
-@@ -532,7 +532,7 @@ sub CheckDisplayNumber
-
- socket(S, $AF_INET, $SOCK_STREAM, 0) || die "$prog: socket failed: $!\n";
- eval 'setsockopt(S, &SOL_SOCKET, &SO_REUSEADDR, pack("l", 1))';
-- if (!bind(S, pack('S n x12', $AF_INET, 6000 + $n))) {
-+ if (!bind(S, sockaddr_in(6000 + $n, &INADDR_ANY))) {
- close(S);
- return 0;
- }
-@@ -540,7 +540,7 @@ sub CheckDisplayNumber
-
- socket(S, $AF_INET, $SOCK_STREAM, 0) || die "$prog: socket failed: $!\n";
- eval 'setsockopt(S, &SOL_SOCKET, &SO_REUSEADDR, pack("l", 1))';
-- if (!bind(S, pack('S n x12', $AF_INET, 5900 + $n))) {
-+ if (!bind(S, sockaddr_in(5900 + $n, &INADDR_ANY))) {
- close(S);
- return 0;
- }