diff options
author | Colin Watson <cjwatson@debian.org> | 2010-02-28 00:19:51 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2010-02-28 00:19:51 +0000 |
commit | ec4ec28df9c4cdde481b063adacab4a809581834 (patch) | |
tree | d7ea31a98ea19d3e268e17b38b9499d78dd74459 /debian/patches/epfnosupport.patch | |
parent | 0d2786ac869cb7a5a289a3efbdc75ff8c66548d4 (diff) |
better patch name
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; | ||