summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Metzler <ametzler@bebt.de>2014-02-09 19:26:41 +0100
committerAndreas Metzler <ametzler@bebt.de>2014-02-09 19:26:41 +0100
commitd9c35eed3bbdd27eb93df070db40ee2147b6439d (patch)
treee970ae8cff5403912220f3375feb0acb885a9c5e
parenta18b5375210de8346eeb07f3078936174dc1ef60 (diff)
downloadexim4-d9c35eed3bbdd27eb93df070db40ee2147b6439d.tar.gz
GNU/hurd does not support IPV6_TCLASS yet.
80_fix_ftbfs_hurd.diff by Samuel Thibault fixes FTBFS on GNU/hurd due to missing support for TCLASS. Closes: #738445
-rw-r--r--debian/changelog2
-rw-r--r--debian/patches/80_fix_ftbfs_hurd.diff18
-rw-r--r--debian/patches/series1
3 files changed, 21 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index c39573e..6ee97e6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ exim4 (4.82-4) UNRELEASED; urgency=low
* Correct title/name of exim4-config_files(5). (Thanks, Heiko Schlittermann)
Closes: #734212
+ * 80_fix_ftbfs_hurd.diff by Samuel Thibault fixes FTBFS on GNU/hurd due to
+ missing support for TCLASS. Closes: #738445
-- Andreas Metzler <ametzler@debian.org> Sun, 05 Jan 2014 08:09:42 +0100
diff --git a/debian/patches/80_fix_ftbfs_hurd.diff b/debian/patches/80_fix_ftbfs_hurd.diff
new file mode 100644
index 0000000..c2a5a29
--- /dev/null
+++ b/debian/patches/80_fix_ftbfs_hurd.diff
@@ -0,0 +1,18 @@
+Description: Fix FTBFS on hurd due to missing IPV6_TCLASS support.
+Author: Samuel Thibault <sthibault@debian.org>
+Bug-Debian: http://bugs.debian.org/738445
+Origin: vendor
+Forwarded: no
+Last-Update: 2014-02-09
+
+--- exim4-4.82.orig/src/ip.c
++++ exim4-4.82/src/ip.c
+@@ -464,7 +464,7 @@ if (af == AF_INET)
+ *level = IPPROTO_IP;
+ *optname = IP_TOS;
+ }
+-#if HAVE_IPV6
++#if HAVE_IPV6 && defined(IPV6_TCLASS)
+ else if (af == AF_INET6)
+ {
+ *level = IPPROTO_IPV6;
diff --git a/debian/patches/series b/debian/patches/series
index 7cac351..bbb0dff 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@
75_unbind-ldap-connection.diff
76_fix_ldap_option_setting.diff
77_close-the-server-side-of-TLS.diff
+80_fix_ftbfs_hurd.diff