summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhubertf <hubertf>1999-06-16 03:06:36 +0000
committerhubertf <hubertf>1999-06-16 03:06:36 +0000
commit219de250b7c5ce8565a9ef9b9b58d3c4976adec9 (patch)
tree0f4b68c7b8730e53e1d732598dc980dd92fd8e4f
parent33bfc1591fec1b1c1b83d650d7395aef1f973b4d (diff)
downloadpkgsrc-219de250b7c5ce8565a9ef9b9b58d3c4976adec9.tar.gz
Use /dev/{audioctl,mixer}0 instead of /dev/{audioctl,mixer}.
If users want some different device, there's always $MIXERDEVICE and $AUDIOCTLDEVICE. Submitted by Rui-Xiang Guo <rxg@ms25.url.com.tw>
-rw-r--r--audio/gqmpeg/patches/patch-ab14
1 files changed, 7 insertions, 7 deletions
diff --git a/audio/gqmpeg/patches/patch-ab b/audio/gqmpeg/patches/patch-ab
index 63819742e02..2e8fc65dadf 100644
--- a/audio/gqmpeg/patches/patch-ab
+++ b/audio/gqmpeg/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.6 1999/06/15 02:06:39 hubertf Exp $
+$NetBSD: patch-ab,v 1.7 1999/06/16 03:06:36 hubertf Exp $
From rxg@ms25.url.com.tw Tue Jun 15 02:49:50 1999
Date: Mon, 14 Jun 1999 13:58:57 +0100
@@ -16,7 +16,7 @@ Can you tell me what you think?
Thanks!
[ Part 2: "Attached Text" ]
-$NetBSD: patch-ab,v 1.6 1999/06/15 02:06:39 hubertf Exp $
+$NetBSD: patch-ab,v 1.7 1999/06/16 03:06:36 hubertf Exp $
--- mixer.c.orig Wed Jun 2 05:50:45 1999
+++ mixer.c Mon Jun 14 14:14:29 1999
@@ -79,7 +79,7 @@ $NetBSD: patch-ab,v 1.6 1999/06/15 02:06:39 hubertf Exp $
+
+ mixer_device = getenv("MIXERDEVICE");
+ if (mixer_device == NULL)
-+ mixer_device = "/dev/mixer";
++ mixer_device = "/dev/mixer0";
+
+ if ((fd = open(mixer_device, O_RDWR)) == -1) {
+ perror(mixer_device);
@@ -155,7 +155,7 @@ $NetBSD: patch-ab,v 1.6 1999/06/15 02:06:39 hubertf Exp $
+
+ audioctl_device = getenv("AUDIOCTLDEVICE");
+ if (audioctl_device == NULL)
-+ audioctl_device = "/dev/audioctl";
++ audioctl_device = "/dev/audioctl0";
+
+ if ((fd = open(audioctl_device, O_RDONLY)) == -1) {
+ perror(audioctl_device);
@@ -180,7 +180,7 @@ $NetBSD: patch-ab,v 1.6 1999/06/15 02:06:39 hubertf Exp $
+
+ mixer_device = getenv("MIXERDEVICE");
+ if (mixer_device == NULL)
-+ mixer_device = "/dev/mixer";
++ mixer_device = "/dev/mixer0";
+
+ if ((fd = open(mixer_device, O_RDWR)) == -1) {
+ perror(mixer_device);
@@ -211,7 +211,7 @@ $NetBSD: patch-ab,v 1.6 1999/06/15 02:06:39 hubertf Exp $
+
+ audioctl_device = getenv("AUDIOCTLDEVICE");
+ if (audioctl_device == NULL)
-+ audioctl_device = "/dev/audioctl";
++ audioctl_device = "/dev/audioctl0";
+
+ if ((fd = open(audioctl_device, O_RDONLY)) == -1) {
+ perror(audioctl_device);
@@ -241,7 +241,7 @@ $NetBSD: patch-ab,v 1.6 1999/06/15 02:06:39 hubertf Exp $
+
+ mixer_device = getenv("MIXERDEVICE");
+ if (mixer_device == NULL)
-+ mixer_device = "/dev/mixer";
++ mixer_device = "/dev/mixer0";
+
+ if ((fd = open(mixer_device, O_RDWR)) == -1) {
+ perror(mixer_device);