|
@@ -0,0 +1,17 @@
|
|
|
+Subject: Fix race in testsuite
|
|
|
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
|
|
|
+Date: 2020-07-25
|
|
|
+Bug-Debian: https://bugs.debian.org/964276
|
|
|
+Forwarded: https://github.com/ngircd/ngircd/issues/281
|
|
|
+
|
|
|
+--- a/src/ngircd/resolve.c
|
|
|
++++ b/src/ngircd/resolve.c
|
|
|
+@@ -246,7 +246,7 @@
|
|
|
+ static struct addrinfo hints;
|
|
|
+
|
|
|
+ #ifdef AI_ADDRCONFIG /* glibc has this, but not e.g. netbsd 4.0 */
|
|
|
+- hints.ai_flags = AI_ADDRCONFIG;
|
|
|
++/* hints.ai_flags = AI_ADDRCONFIG; */
|
|
|
+ #endif
|
|
|
+ hints.ai_socktype = SOCK_STREAM;
|
|
|
+ hints.ai_protocol = IPPROTO_TCP;
|