summaryrefslogtreecommitdiff
path: root/audio/rioutil/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'audio/rioutil/patches/patch-aa')
-rw-r--r--audio/rioutil/patches/patch-aa18
1 files changed, 18 insertions, 0 deletions
diff --git a/audio/rioutil/patches/patch-aa b/audio/rioutil/patches/patch-aa
new file mode 100644
index 00000000000..3b27bb438f2
--- /dev/null
+++ b/audio/rioutil/patches/patch-aa
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.3 2005/12/07 17:35:37 joerg Exp $
+
+--- src/main.c.orig 2005-12-07 17:12:51.000000000 +0000
++++ src/main.c
+@@ -893,10 +893,10 @@ 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");