summaryrefslogtreecommitdiff
path: root/audio/musicpd
diff options
context:
space:
mode:
authormrg <mrg@pkgsrc.org>2004-05-02 12:35:57 +0000
committermrg <mrg@pkgsrc.org>2004-05-02 12:35:57 +0000
commit602f0e1e5a6b9f873e0f41063e0a382143a2bfb1 (patch)
tree6d2a1387712b1728e84ea3bbbcceabeb5ee27152 /audio/musicpd
parenta6124b2654810d23d4f2c626caddbd5b8f50643e (diff)
downloadpkgsrc-602f0e1e5a6b9f873e0f41063e0a382143a2bfb1.tar.gz
don't reset the playlist order when restarting.
Diffstat (limited to 'audio/musicpd')
-rw-r--r--audio/musicpd/distinfo3
-rw-r--r--audio/musicpd/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
diff --git a/audio/musicpd/distinfo b/audio/musicpd/distinfo
index 3f7ec4793ba..905dcf6dcbc 100644
--- a/audio/musicpd/distinfo
+++ b/audio/musicpd/distinfo
@@ -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 --git a/audio/musicpd/patches/patch-aa b/audio/musicpd/patches/patch-aa
new file mode 100644
index 00000000000..a6b1073e30c
--- /dev/null
+++ b/audio/musicpd/patches/patch-aa
@@ -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;