summaryrefslogtreecommitdiff
path: root/debian/patches/hurd-epfnosupport.patch
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2010-04-16 10:25:59 +0100
committerColin Watson <cjwatson@debian.org>2010-04-16 10:25:59 +0100
commit716621abf50722a46f97ecafed5ce134c94f1a81 (patch)
tree9993f08b7ea89f3038c3cfcf8fd1c71bdc7e7ae7 /debian/patches/hurd-epfnosupport.patch
parentae31b42e02d7bf7004ec0302088f4e169c0f08ce (diff)
parent78eedc2c60ff4718200f9271d8ee4f437da3a0c5 (diff)
* New upstream release:
- Unbreak sshd_config's AuthorizedKeysFile option for $HOME-relative paths. - Include a language tag when sending a protocol 2 disconnection message. - Make logging of certificates used for user authentication more clear and consistent between CAs specified using TrustedUserCAKeys and authorized_keys.
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;