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