From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- recipes/setmixer/devfs.patch | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 recipes/setmixer/devfs.patch (limited to 'recipes/setmixer/devfs.patch') diff --git a/recipes/setmixer/devfs.patch b/recipes/setmixer/devfs.patch new file mode 100644 index 0000000000..d2b5c82df8 --- /dev/null +++ b/recipes/setmixer/devfs.patch @@ -0,0 +1,25 @@ + +# +# Patch managed by http://www.holgerschurig.de/patcher.html +# + +--- setmixer-27DEC94.orig/setmixer.c~devfs ++++ setmixer-27DEC94.orig/setmixer.c +@@ -27,7 +27,7 @@ + #include + #include + +-#define MIXER "/dev/mixer" ++#define MIXER "/dev/sound/mixer" + + const char * dname[] = SOUND_DEVICE_NAMES; + +@@ -65,7 +65,7 @@ + } + + if ((mixer_fd = open(MIXER, O_RDWR)) < 0) { +- fprintf(stderr, "Error opening /dev/mixer."); ++ fprintf(stderr, "Error opening /dev/sound/mixer."); + exit(1); + } + if (ioctl(mixer_fd, SOUND_MIXER_READ_DEVMASK, &devmask) == -1) { -- cgit v1.2.3