openbsd-ports/audio/cmus/patches/patch-discid_c
gonzalo 02a7f070d1 Update for cmus to 2.5.0:
Two further changes:
  * I added CONFIG_ALSA=n back. Someone added it, I don't really know
    why, but I see that some other ports are explicitely disabling ALSA
    support, too. So I'll continue doing the same.
  * I added a patch from upstream which fixes a segfault.

From maintainer Donovan Watteau, Thanks!

Ok aja@
2012-12-27 12:02:33 +00:00

16 lines
389 B
Plaintext

$OpenBSD: patch-discid_c,v 1.1 2012/12/27 12:02:33 gonzalo Exp $
Hard-code /dev/rcd0c, until we make this use libdiscid.
--- discid.c.orig Wed Nov 7 09:46:17 2012
+++ discid.c Wed Nov 7 21:07:19 2012
@@ -40,7 +40,7 @@ char *get_default_cdda_device(void)
dev = discid_get_default_device();
#endif
if (!dev)
- dev = "/dev/cdrom";
+ dev = "/dev/rcd0c";
return xstrdup(dev);
}