pkgsrc/audio/rioutil/patches/patch-aa

19 lines
858 B
Text
Raw Normal View History

$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");