Update to mpc-0.27
This commit is contained in:
parent
beaec40f74
commit
4dcd3a6caa
@ -1,10 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.19 2015/01/15 22:11:15 halex Exp $
|
||||
# $OpenBSD: Makefile,v 1.20 2015/06/03 07:35:39 dcoppa Exp $
|
||||
|
||||
COMMENT= command line client for mpd
|
||||
|
||||
VER= 0.26
|
||||
VER= 0.27
|
||||
DISTNAME= mpc-${VER}
|
||||
REVISION= 0
|
||||
CATEGORIES= audio
|
||||
|
||||
HOMEPAGE= http://www.musicpd.org/clients/mpc/
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (mpc-0.26.tar.gz) = 4nAGF4y1XLz4LfGgFpaf195pj2QMt0SO6AKQHb7Yp7A=
|
||||
SIZE (mpc-0.26.tar.gz) = 134643
|
||||
SHA256 (mpc-0.27.tar.gz) = BxE8caIcvQ6gKCc7qo418j8qdrlKXDfhaSf9x8aTRGM=
|
||||
SIZE (mpc-0.27.tar.gz) = 145940
|
||||
|
@ -1,9 +1,9 @@
|
||||
$OpenBSD: patch-Makefile_in,v 1.8 2014/06/16 09:35:16 jasper Exp $
|
||||
--- Makefile.in.orig Tue May 13 08:33:48 2014
|
||||
+++ Makefile.in Tue Jun 10 13:27:28 2014
|
||||
@@ -331,9 +331,7 @@ top_srcdir = @top_srcdir@
|
||||
$OpenBSD: patch-Makefile_in,v 1.9 2015/06/03 07:35:39 dcoppa Exp $
|
||||
--- Makefile.in.orig Thu Jan 15 12:42:28 2015
|
||||
+++ Makefile.in Wed Jun 3 09:33:19 2015
|
||||
@@ -532,9 +532,7 @@ top_srcdir = @top_srcdir@
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
AUTOMAKE_OPTIONS = foreign 1.11 dist-xz
|
||||
AUTOMAKE_OPTIONS = foreign 1.11 dist-xz subdir-objects
|
||||
man_MANS = doc/mpc.1
|
||||
-doc_DATA = AUTHORS COPYING NEWS README \
|
||||
- doc/mpd-m3u-handler.sh doc/mpd-pls-handler.sh doc/mppledit \
|
||||
|
@ -1,19 +0,0 @@
|
||||
$OpenBSD: patch-src_command_c,v 1.5 2015/01/15 22:11:15 halex Exp $
|
||||
|
||||
Fix use-after-free issue.
|
||||
|
||||
--- src/command.c.orig Thu Jan 15 07:35:35 2015
|
||||
+++ src/command.c Thu Jan 15 07:35:42 2015
|
||||
@@ -458,10 +458,10 @@ cmd_seek(gcc_unused int argc, gcc_unused char **argv,
|
||||
if (seekto > (int)mpd_status_get_total_time(status))
|
||||
DIE("Seek amount would seek past the end of the song\n");
|
||||
|
||||
- mpd_status_free(status);
|
||||
-
|
||||
if (!mpd_run_seek_id(conn, mpd_status_get_song_id(status), seekto))
|
||||
printErrorAndExit(conn);
|
||||
+
|
||||
+ mpd_status_free(status);
|
||||
|
||||
return 1;
|
||||
}
|
Loading…
Reference in New Issue
Block a user