From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [PATCH 3/3] hdsploader: Temporary define for RPM Date: Fri, 29 Jul 2011 07:50:32 +0200 Message-ID: References: <1311889548-28617-1-git-send-email-adi@drcomp.erfurt.thur.de> <1311889548-28617-4-git-send-email-adi@drcomp.erfurt.thur.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id F0BA1244AC for ; Fri, 29 Jul 2011 07:50:32 +0200 (CEST) In-Reply-To: <1311889548-28617-4-git-send-email-adi@drcomp.erfurt.thur.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Adrian Knoth Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Thu, 28 Jul 2011 23:45:48 +0200, Adrian Knoth wrote: > > Right now (1.0.24.1), 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 > > 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[24413]; > > +#ifndef RPM > +# define RPM 5 > +#endif Now (after committing it), I found that it should be 4 instead of 5...? Takashi