summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authormrg <mrg>2004-05-02 12:35:57 +0000
committermrg <mrg>2004-05-02 12:35:57 +0000
commit8cf19e10f8123955846bd47a22573d0dd11b3abd (patch)
tree6d2a1387712b1728e84ea3bbbcceabeb5ee27152 /audio
parent631d80383775dd64233c3a1d01c7e06ac76c400e (diff)
downloadpkgsrc-8cf19e10f8123955846bd47a22573d0dd11b3abd.tar.gz
don't reset the playlist order when restarting.
Diffstat (limited to 'audio')
-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;