Hi,
This diff fixes shuffle-playlist in ncmpc. OK to commit?
Index: Makefile
===
RCS file: /cvs/ports/audio/ncmpc/Makefile,v
retrieving revision 1.12
diff -u -p -u -r1.12 Makefile
--- Makefile5 Apr 2010 19:05:11 - 1.12
+++ Makefile20 Apr 2010 20:46:48 -
@@ -3,7 +3,7 @@
COMMENT= curses based frontend for mpd
DISTNAME= ncmpc-0.16.1
-PKGNAME= ${DISTNAME}v0
+PKGNAME= ${DISTNAME}p0v0
CATEGORIES=audio
HOMEPAGE= http://mpd.wikia.com/wiki/Client:Ncmpc
Index: patches/patch-src_screen_queue_c
===
RCS file: patches/patch-src_screen_queue_c
diff -N patches/patch-src_screen_queue_c
--- /dev/null 1 Jan 1970 00:00:00 -
+++ patches/patch-src_screen_queue_c20 Apr 2010 20:46:48 -
@@ -0,0 +1,16 @@
+$OpenBSD$
+
+Fix the shuffle feature when no range selection is made.
+http://git.musicpd.org/cgit/master/ncmpc.git/patch/?id=665ebd4662110c8cc14b64356914af9212846caf
+
+--- src/screen_queue.c.origSun Jan 17 23:54:56 2010
src/screen_queue.c Tue Apr 20 21:37:26 2010
+@@ -738,7 +738,7 @@ screen_queue_cmd(struct mpdclient *c, command_t cmd)
+
+ case CMD_SHUFFLE:
+ list_window_get_range(lw, range);
+- if (range.end range.start + 1)
++ if (range.end = range.start + 1)
+ /* No range selection, shuffle all list. */
+ break;
+
--
Best Regards
Edd Barrett
http://www.theunixzoo.co.uk