pkgsrc/audio/rioutil/patches/patch-aa
schmonz 1fca6d8469 Update to 1.5.0. From the changelog:
- Added support for Rio Nitrus.
- Updated mp3 and id3 parsers.
- Removed macosx and usbdevfs drivers. libusb is now the standard driver.
- Several small bugfixes.

pkgsrc patches for DragonFly carried forward. Builds and runs on
OS X but untested (I haven't had a Rio for years). 1.4.7 was broken
in Krister's NetBSD 4.0_BETA2/i386 bulk build; perhaps this will
help.
2007-01-06 04:21:24 +00:00

18 lines
858 B
Text

$NetBSD: patch-aa,v 1.4 2007/01/06 04:21:24 schmonz Exp $
--- src/main.c.orig 2006-08-08 12:23:08.000000000 -0400
+++ src/main.c
@@ -730,10 +730,10 @@ static void usage (void) {
printf(" -d, --delete=<int> delete a track(s)\n\n");
printf(" options:\n");
-#if !defined(__FreeBSD__) || !defined(__NetBSD__)
- printf(" -o, --device=<int> minor number of rio (assigned by driver), /dev/usb/rio?\n");
-#else
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__DragonFly__)
printf(" -o, --device=<int> minor number of rio (assigned by driver), /dev/urio?\n");
+#else
+ printf(" -o, --device=<int> minor number of rio (assigned by driver), /dev/usb/rio?\n");
#endif
printf(" -k, --nocolor supress ansi color\n");
printf(" -m, --memory=<int> memory unit to upload/download/delete/format to/from\n");