pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/musicpd don't reset the playlist order when rest...
details: https://anonhg.NetBSD.org/pkgsrc/rev/05d2c513ab28
branches: trunk
changeset: 474575:05d2c513ab28
user: mrg <mrg%pkgsrc.org@localhost>
date: Sun May 02 12:35:57 2004 +0000
description:
don't reset the playlist order when restarting.
diffstat:
audio/musicpd/distinfo | 3 ++-
audio/musicpd/patches/patch-aa | 13 +++++++++++++
2 files changed, 15 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r dc8710c3e58e -r 05d2c513ab28 audio/musicpd/distinfo
--- a/audio/musicpd/distinfo Sun May 02 11:59:18 2004 +0000
+++ b/audio/musicpd/distinfo Sun May 02 12:35:57 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/04/30 10:48:21 grant Exp $
+$NetBSD: distinfo,v 1.2 2004/05/02 12:35:57 mrg Exp $
SHA1 (mpd-0.10.3.tar.gz) = fa093eb6f01d1cb3522380084451432b40873c96
Size (mpd-0.10.3.tar.gz) = 815429 bytes
+SHA1 (patch-aa) = afe090985ea030d5811e9270f74a6eea8d63fcf1
diff -r dc8710c3e58e -r 05d2c513ab28 audio/musicpd/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/musicpd/patches/patch-aa Sun May 02 12:35:57 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2004/05/02 12:35:57 mrg Exp $
+
+--- src/playlist.c.orig 2004-05-02 22:34:00.000000000 +1000
++++ src/playlist.c 2004-05-02 22:34:03.000000000 +1000
+@@ -673,7 +673,7 @@
+
+ clearPlayerError();
+
+- if(song==-1) i = 0;
++ if(song==-1) i = playlist.current;
+ else if(song<0) {
+ myfprintf(fp,"%s need integer >= -1\n",COMMAND_RESPOND_ERROR);
+ playlist_state = PLAYLIST_STATE_STOP;
Home |
Main Index |
Thread Index |
Old Index