> > can you apply the following diff, do `cat > /dev/audio < /dev/zero', > > and send me the messages? thanks.
I must have messed something up. The third file looks like it was patched, but not the others. I'm new to patching, so I appreciate any help. I got the source tree cd /usr cvs -qd anon...@anoncvs3.usa.openbsd.org:/cvs get -P src then applied the patch from /usr/src I had tried -p3 (which looked right) and -p2 and both times was asked for the "file to patch" so I switched to -p0 for the heck of it and did. # patch -p0 < audio.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: audio.c |=================================================================== |RCS file: /cvs/src/sys/dev/audio.c,v |retrieving revision 1.104 |diff -u -p audio.c |--- audio.c 18 Jun 2009 22:55:56 -0000 1.104 |+++ audio.c 26 Aug 2009 19:43:36 -0000 -------------------------- File to patch: /usr/src/sys/dev/audio.c Patching file /usr/src/sys/dev/audio.c using Plan A... Hunk #1 failed at 89. 1 out of 1 hunks failed--saving rejects to /usr/src/sys/dev/audio.c.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: pci/azalia.c |=================================================================== |RCS file: /cvs/src/sys/dev/pci/azalia.c,v |retrieving revision 1.143 |diff -u -p pci/azalia.c |--- pci/azalia.c 13 Aug 2009 23:59:15 -0000 1.143 |+++ pci/azalia.c 26 Aug 2009 19:43:37 -0000 -------------------------- File to patch: /usr/src/sys/dev/pci/azalia.c Patching file /usr/src/sys/dev/pci/azalia.c using Plan A... Hunk #1 failed at 78. 1 out of 1 hunks failed--saving rejects to /usr/src/sys/dev/pci/azalia.c.rej Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: pci/azalia.h |=================================================================== |RCS file: /cvs/src/sys/dev/pci/azalia.h,v |retrieving revision 1.52 |diff -u -p pci/azalia.h |--- pci/azalia.h 9 Jun 2009 05:16:42 -0000 1.52 |+++ pci/azalia.h 26 Aug 2009 19:43:37 -0000 -------------------------- File to patch: /usr/src/sys/dev/pci/azalia.h Patching file /usr/src/sys/dev/pci/azalia.h using Plan A... Hunk #1 succeeded at 534 with fuzz 2. done -- Later Peter