Hi,

I've seen that my port of audio/cmus has been recently accepted;
thanks for that.

But the version which was added to the ports tree was not the
latest one I've seen to ports@.  It lacks the fixes for ARM
and a patch which documented the sndio backend in cmus(1).

The following diff should fix that.

Cheers,
Donovan.

Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/cmus/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile    16 Sep 2011 08:26:10 -0000      1.3
+++ Makefile    18 Sep 2011 12:19:23 -0000
@@ -10,7 +10,7 @@ PKGNAME-main=         cmus-$(V)
 PKGNAME-flac=          cmus-flac-$(V)
 PKGNAME-wavpack=       cmus-wavpack-$(V)
 
-REVISION-main=         0
+REVISION-main=         1
 REVISION-flac=         1
 REVISION-wavpack=      1
 
@@ -63,13 +63,10 @@ CONFIGURE_ARGS=             prefix=${PREFIX} \
                        CONFIG_SNDIO=y
 
 .if ${MACHINE_ARCH} == "arm"
-CONFIGURE_ARGS+=       CONFIG_TREMOR=y \
-                       CONFIG_VORBIS=n
+CONFIGURE_ARGS+=       CONFIG_TREMOR=y
 LIB_DEPENDS+=          audio/tremor
 WANTLIB-main+=         vorbisidec>=1
 .else
-CONFIGURE_ARGS+=       CONFIG_TREMOR=n \
-                       CONFIG_VORBIS=y
 LIB_DEPENDS+=          audio/libvorbis
 WANTLIB-main+=         ogg vorbis>=0 vorbisfile>=1
 .endif
Index: patches/patch-Doc_cmus_txt
===================================================================
RCS file: patches/patch-Doc_cmus_txt
diff -N patches/patch-Doc_cmus_txt
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-Doc_cmus_txt  18 Sep 2011 12:19:23 -0000
@@ -0,0 +1,12 @@
+$OpenBSD$
+--- Doc/cmus.txt.orig  Sun Jul 24 11:42:22 2011
++++ Doc/cmus.txt       Sun Sep  4 22:55:19 2011
+@@ -860,7 +860,7 @@ id3_default_charset (ISO-8859-1)
+ lib_sort (artist album discnumber tracknumber title filename) [`Sort Keys`]
+       Sort keys for the sorted library view (2).
+ 
+-output_plugin [roar, pulse, alsa, arts, oss, sun]
++output_plugin [roar, pulse, alsa, arts, sndio, oss, sun]
+       Name of output plugin.
+ 
+ pl_sort () [`Sort Keys`]

Reply via email to