summaryrefslogtreecommitdiff
path: root/sysutils/mc/patches/patch-ab
blob: 5fc613be2e702d0ed44a3500c4d5f7ea3a23763e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-ab,v 1.14 2011/01/23 14:36:10 wiz Exp $

http://midnight-commander.org/ticket/2476
--- lib/vfs/mc-vfs/ftpfs.c.orig	2010-11-08 11:46:13.000000000 +0000
+++ lib/vfs/mc-vfs/ftpfs.c
@@ -115,9 +115,9 @@ What to do with this?
 #define INADDR_NONE 0xffffffff
 #endif
 
-/* for uclibc < 0.9.29 */
+/* for systems that doesn't provide AI_ADDRCONFIG */
 #ifndef AI_ADDRCONFIG
-#define AI_ADDRCONFIG 0x0020
+#define AI_ADDRCONFIG 0
 #endif
 
 #define RFC_AUTODETECT 0