Add patch to disable AI_ADDRCONFIG because of issues in glibc.
authorgregor herrmann <gregoa@debian.org>
Sat, 26 Sep 2020 15:21:51 +0000 (17:21 +0200)
committergregor herrmann <gregoa@debian.org>
Sat, 26 Sep 2020 15:21:51 +0000 (17:21 +0200)
Cf. #952740.

debian/patches/addrconfig.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/addrconfig.patch b/debian/patches/addrconfig.patch
new file mode 100644 (file)
index 0000000..a1434e5
--- /dev/null
@@ -0,0 +1,18 @@
+Description: Disable AI_ADDRCONFIG
+ Cf. #952740
+Origin: vendor
+Forwarded: not-needed
+Author: gregor herrmann <gregoa@debian.org>
+Last-Update: 2020-07-12
+
+--- a/src/common.c
++++ b/src/common.c
+@@ -154,7 +154,7 @@
+       /* AI_ADDRCONFIG misbehaves on windows, and does not exist in OpenBSD */
+       hints.ai_flags = flags;
+ #else
+-      hints.ai_flags = AI_ADDRCONFIG | flags;
++      hints.ai_flags = flags;
+ #endif
+       hints.ai_socktype = SOCK_DGRAM;
+       hints.ai_protocol = IPPROTO_UDP;
index a8009dc9ab4fd9e3d45f9db6eea947a409fc4bc7..4c50cdaf870c27f2bd6db56357ea966d2a67b51d 100644 (file)
@@ -3,3 +3,4 @@ verbose-build.patch
 0001-osflags-use-pkg-config-for-systemd-support.patch
 kfreebsd-hurd.patch
 cross.patch
+addrconfig.patch