From: Takashi Iwai Subject: Re: up do date repository ? Date: Wed, 19 Apr 2006 12:24:20 +0200 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 5F43B172 for ; Wed, 19 Apr 2006 12:24:27 +0200 (MEST) In-Reply-To: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Giuliano Pochini Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Wed, 19 Apr 2006 10:43:36 +0200 (CEST), Giuliano Pochini wrote: > > > On 18-Apr-2006 Takashi Iwai wrote: > > >> > The CVS repository on sourceforge seems not updated for a long time. > >> > Please use ALSA-1.0.11rc5 tarball instead. > >> > >> Is there any other up do date public repository ? > >> (snd-powermac of 1.0.11rc5 doesn't compile. Has it already been fixed ?) > > > > No change about powermac stuff. Could you post a detail? > > I'll send a patch tonight, if I have time. It complained about > undefined machine_is IIRC. OK, it hits only 2.6.16 kernel. How about the patch below? Unfortunately, it cannot get into 1.0.11 since 1.0.11 tree is already frozen. I'll put it to CVS/Hg if it works. Takashi diff -r e96a8c1c69cf ppc/pmac.c --- a/ppc/pmac.c Wed Apr 19 07:26:47 2006 +0200 +++ b/ppc/pmac.c Wed Apr 19 12:22:12 2006 +0200 @@ -5,5 +5,11 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16) #include "pmac_old.c" #else +#if LINUX_VERSION_CODE == KERNEL_VERSION(2,6,16) +/* hack for machine_is(powermac) */ +static int _machine_is(void); +#define machine_is(x) _machine_is() +#endif #include "../alsa-kernel/ppc/pmac.c" +static int _machine_is(void) { return _machine == _MACH_Pmac; } #endif ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642