mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
audio/libmpd: actually fix the bug in code instead of masking it
This commit is contained in:
@@ -16,8 +16,6 @@ USE_GNOME= glib20
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
CFLAGS+= -Wno-error=int-conversion
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,libmpd-1.0\/libmpd,libmpd,' \
|
||||
${WRKSRC}/src/Makefile.in
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- src/libmpd-playlist.c.orig 2011-08-17 12:31:47 UTC
|
||||
+++ src/libmpd-playlist.c
|
||||
@@ -780,7 +780,7 @@ int mpd_playlist_load(MpdObj *mi, const char *path)
|
||||
if(mpd_lock_conn(mi))
|
||||
{
|
||||
debug_printf(DEBUG_ERROR,"lock failed\n");
|
||||
- return NULL;
|
||||
+ return 0;
|
||||
}
|
||||
mpd_sendLoadCommand(mi->connection,path);
|
||||
mpd_finishCommand(mi->connection);
|
||||
Reference in New Issue
Block a user