[alsa-devel] [PATCH 3/3] hdsploader: Temporary define for RPM
adi at drcomp.erfurt.thur.de
Fri Jul 29 17:46:53 CEST 2011
On Fri, Jul 29, 2011 at 07:50:32AM +0200, Takashi Iwai wrote:
> > Right now (188.8.131.52), alsa-lib's hdsp.h doesn't know about the RPM. To
> > avoid a strong dependency on unreleased code, temporary provide the
> > define here.
> > It can be dropped as soon as a new version of alsa-lib will be released,
> > thus effectively making it the required minimum version for alsa-tools.
> > Signed-off-by: Adrian Knoth <adi at drcomp.erfurt.thur.de>
> > diff --git a/hdsploader/hdsploader.c b/hdsploader/hdsploader.c
> > index fa488a2..bfbe3bc 100644
> > --- a/hdsploader/hdsploader.c
> > +++ b/hdsploader/hdsploader.c
> > @@ -27,6 +27,10 @@
> > static u_int32_t code;
> > +#ifndef RPM
> > +# define RPM 5
> > +#endif
> Now (after committing it), I found that it should be 4 instead of 5...?
Indeed. That's why repeated code is evil. ;) I'll come up with a fix.
Thanks for spotting.
More information about the Alsa-devel