diff options
author | jakllsch <jakllsch@pkgsrc.org> | 2012-03-04 20:10:47 +0000 |
---|---|---|
committer | jakllsch <jakllsch@pkgsrc.org> | 2012-03-04 20:10:47 +0000 |
commit | 328435395a73cb2fe05170c1927d8bbd6cb63fbc (patch) | |
tree | c20f5df49a3280125cda221c33f807e15d74acea /audio/libmpdclient | |
parent | 0766af72ac7ca27eff0868f5f8a023830a56d573 (diff) | |
download | pkgsrc-328435395a73cb2fe05170c1927d8bbd6cb63fbc.tar.gz |
Use getaddrinfo(3) even if AI_ADDRCONFIG is missing.
PKGREV++
Diffstat (limited to 'audio/libmpdclient')
-rw-r--r-- | audio/libmpdclient/Makefile | 3 | ||||
-rw-r--r-- | audio/libmpdclient/distinfo | 3 | ||||
-rw-r--r-- | audio/libmpdclient/patches/patch-src_resolver.c | 15 |
3 files changed, 19 insertions, 2 deletions
diff --git a/audio/libmpdclient/Makefile b/audio/libmpdclient/Makefile index 2990d130ca2..3c831a611bb 100644 --- a/audio/libmpdclient/Makefile +++ b/audio/libmpdclient/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.3 2012/01/16 21:00:00 drochner Exp $ +# $NetBSD: Makefile,v 1.4 2012/03/04 20:10:47 jakllsch Exp $ # DISTNAME= libmpdclient-2.6 +PKGREVISION= 1 CATEGORIES= audio MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=musicpd/} EXTRACT_SUFX= .tar.bz2 diff --git a/audio/libmpdclient/distinfo b/audio/libmpdclient/distinfo index f71f7384571..05327a7d6ed 100644 --- a/audio/libmpdclient/distinfo +++ b/audio/libmpdclient/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.2 2012/01/16 21:00:00 drochner Exp $ +$NetBSD: distinfo,v 1.3 2012/03/04 20:10:47 jakllsch Exp $ SHA1 (libmpdclient-2.6.tar.bz2) = 00d88152c0e8599f56d01625da41b55d3a43c264 RMD160 (libmpdclient-2.6.tar.bz2) = 83dc3a7f57cee7b463e2a1e96fe66b313d35e41f Size (libmpdclient-2.6.tar.bz2) = 288343 bytes +SHA1 (patch-src_resolver.c) = e6622391b2c844969cff2a0c927e3185a27bc81b diff --git a/audio/libmpdclient/patches/patch-src_resolver.c b/audio/libmpdclient/patches/patch-src_resolver.c new file mode 100644 index 00000000000..f5ca7b9213f --- /dev/null +++ b/audio/libmpdclient/patches/patch-src_resolver.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_resolver.c,v 1.1 2012/03/04 20:10:47 jakllsch Exp $ +Use getaddrinfo(3) even if AI_ADDRCONFIG is missing. + +--- src/resolver.c.orig 2011-10-24 02:43:05.000000000 +0000 ++++ src/resolver.c +@@ -47,6 +47,9 @@ + #endif + + #if defined(ENABLE_TCP) && !defined(MPD_NO_GAI) ++# ifndef AI_ADDRCONFIG ++# define AI_ADDRCONFIG 0 ++# endif + # ifdef AI_ADDRCONFIG + # define MPD_HAVE_GAI + # endif |