- use libtool
- fix a bug in libmpdclient where it doesn't break to use a valid address from getaddrinfo, so it always uses the last one. which can be an ipv6 address, and that fails when mpd is only bound to localhost From Nicholas Marriott <nicm__ at ntlworld.com> via Tobias Ulmer <tobiasu@tmux.org> (MAINTAINER)
This commit is contained in:
parent
36aa8a22f4
commit
7c470cb5a8
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2007/09/19 19:15:12 jasper Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2007/10/31 06:34:55 jasper Exp $
|
||||
|
||||
# mips64 architecture does not support trampoline code yet
|
||||
NOT_FOR_ARCHS= mips64
|
||||
@ -6,6 +6,7 @@ NOT_FOR_ARCHS= mips64
|
||||
COMMENT= curses based frontend for mpd
|
||||
|
||||
DISTNAME= ncmpc-20070917
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= audio
|
||||
|
||||
HOMEPAGE= http://hem.bredband.net/kaw/ncmpc/
|
||||
@ -21,6 +22,8 @@ PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= c ncurses
|
||||
LIB_DEPENDS= glib-2.0::devel/glib2
|
||||
|
||||
USE_LIBTOOL= Yes
|
||||
|
||||
BUILD_DEPENDS= ${MODGNU_AUTOCONF_DEPENDS} \
|
||||
${MODGNU_AUTOMAKE_DEPENDS}
|
||||
|
||||
|
13
audio/ncmpc/patches/patch-src_libmpdclient_c
Normal file
13
audio/ncmpc/patches/patch-src_libmpdclient_c
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-src_libmpdclient_c,v 1.1 2007/10/31 06:34:55 jasper Exp $
|
||||
--- src/libmpdclient.c.orig Wed Sep 19 18:27:39 2007
|
||||
+++ src/libmpdclient.c Thu Oct 25 13:04:31 2007
|
||||
@@ -197,6 +197,9 @@ mpd_Connection * mpd_newConnection(const char * host,
|
||||
connection->sock = 0;
|
||||
continue;
|
||||
}
|
||||
+
|
||||
+ /* success! */
|
||||
+ break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user