Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
@@ -0,0 +1,15 @@
$NetBSD: patch-src_libmpdclient.c,v 1.1 2012/03/04 20:10:47 jakllsch Exp $
Use getaddrinfo(3) even if AI_ADDRCONFIG is missing.
--- src/libmpdclient.c.orig 2010-03-22 03:18:23.000000000 +0000
+++ src/libmpdclient.c
@@ -64,6 +64,9 @@
#define COMMAND_LIST_OK 2
#ifndef MPD_NO_GAI
+# ifndef AI_ADDRCONFIG
+# define AI_ADDRCONFIG 0
+# endif
# ifdef AI_ADDRCONFIG
# define MPD_HAVE_GAI
# endif