[PlanetCCRMA] More ALSA driver building, HDSP9652 patch
Aaron Trumm
aaron at nquit.com
Fri Oct 3 10:11:02 PDT 2003
I'm baaaaacccckkkk...hello mark!
Well ok. I thought I'd come back to ask this question - I'm trying to rebuild
the planet alsa drivers, because I'm applying the patch for the hdsp9652 -
you may have been following this thread
I realized yesterday with Mark K's help I wasn't actually applying the patch,
cuz I had forgotten to rebuild. well after making quite a mess with the
kernels and such (we'll just leave that out of this) I finally this morning
was rebuilding, or rather, actually - building an alsa driver rpm
first, it error'd out saying that it couldn't find /usr/src/KERNEL
DIRECTORY/version.h
that directory didn't even exist, I'm not sure why...I haven't fixed that but
I have an idea, so let's ignore that
my question is, what exactly do I have to do to the alsa-driver .spec file to
apply the patch? what I've done to apply the patch is:
put hdsp9652.patch in /usr/src/redhat/SOURCES
added the line: Patch7: hdsp9652.patch
right after the line: Patch6: alsa-driver-0.9.4-alsasound.patch
and then tried rpmbuild -ba --target i686 alsa-driver-blahblah.spec
and got the above error, and then checked out the .spec file and thought I
should add:
%patch7 -p1
right after:
%patch5 -p1
and right before %build
(I also added %patch6 -p1 because it wasn't there, but I got an error message
that made me think I should take that out - after all it wasn't there to
begin with)
now I think it's not getting to the point where it can't find version.h - it's
giving me this:
Patch #7 (hdsp9652.patch):
+ patch -p1 -s
missing header for unified diff at line 3 of patch
The text leading up to this was:
--------------------------
|--- hdsp.c.0.9.6 2003-07-18 12:04:59.000000000 +0200
|+++ hdsp.c 2003-08-16 16:14:18.000000000 +0200
--------------------------
File to patch:
and it waits. so I typed hdsp9652.patch and hit enter and it gave:
File to patch: hdsp9652.patch
hdsp9652.patch: No such file or directory
Skip this patch? [y] y
8 out of 8 hunks ignored
error: Bad exit status from /var/tmp/rpm-tmp.61264 (%prep)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.61264 (%prep)
hmmmm
--
--------------
Aaron Trumm
NQuit
www.nquit.com
--------------
More information about the PlanetCCRMA
mailing list