summaryrefslogtreecommitdiff
path: root/debian/patches/hurd-epfnosupport.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/hurd-epfnosupport.patch')
-rw-r--r--debian/patches/hurd-epfnosupport.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/debian/patches/hurd-epfnosupport.patch b/debian/patches/hurd-epfnosupport.patch
deleted file mode 100644
index e06b46309..000000000
--- a/debian/patches/hurd-epfnosupport.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1Description: Fix X forwarding on the Hurd
2 socket() may return EPFNOSUPPORT, which != EAFNOSUPPORT on the Hurd.
3Author: Robert Bihlmeyer <robbe@orcus.priv.at>
4Bug: https://bugzilla.mindrot.org/show_bug.cgi?id=1721
5Bug-Debian: http://bugs.debian.org/102991
6Last-Update: 2010-03-01
7
8Index: b/channels.c
9===================================================================
10--- a/channels.c
11+++ b/channels.c
12@@ -3252,7 +3252,11 @@
13 sock = socket(ai->ai_family, ai->ai_socktype,
14 ai->ai_protocol);
15 if (sock < 0) {
16- if ((errno != EINVAL) && (errno != EAFNOSUPPORT)) {
17+ if ((errno != EINVAL) && (errno != EAFNOSUPPORT)
18+#ifdef EPFNOSUPPORT
19+ && (errno != EPFNOSUPPORT)
20+#endif
21+ ) {
22 error("socket: %.100s", strerror(errno));
23 freeaddrinfo(aitop);
24 return -1;