diff options
author | Colin Watson <cjwatson@debian.org> | 2010-02-27 14:05:10 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2010-02-27 14:05:10 +0000 |
commit | 8dcc7c5ef45cf5032dca7a308ffe17d3935e62d5 (patch) | |
tree | 2e0d8058bdfc24a60a20c5bcbfd1075ef1048ff3 /debian/patches/epfnosupport.patch | |
parent | e44a1fb6e8e59e67e5c8b6e83c0d8566d146aad9 (diff) |
Convert to source format 3.0 (quilt).
Diffstat (limited to 'debian/patches/epfnosupport.patch')
-rw-r--r-- | debian/patches/epfnosupport.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/epfnosupport.patch b/debian/patches/epfnosupport.patch new file mode 100644 index 000000000..aceb71ff8 --- /dev/null +++ b/debian/patches/epfnosupport.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Index: b/channels.c | ||
2 | =================================================================== | ||
3 | --- a/channels.c | ||
4 | +++ b/channels.c | ||
5 | @@ -3098,7 +3098,11 @@ | ||
6 | sock = socket(ai->ai_family, ai->ai_socktype, | ||
7 | ai->ai_protocol); | ||
8 | if (sock < 0) { | ||
9 | - if ((errno != EINVAL) && (errno != EAFNOSUPPORT)) { | ||
10 | + if ((errno != EINVAL) && (errno != EAFNOSUPPORT) | ||
11 | +#ifdef EPFNOSUPPORT | ||
12 | + && (errno != EPFNOSUPPORT) | ||
13 | +#endif | ||
14 | + ) { | ||
15 | error("socket: %.100s", strerror(errno)); | ||
16 | freeaddrinfo(aitop); | ||
17 | return -1; | ||