--- a/acore/pcm_native.patch Mon Oct 16 21:36:50 2006 +0200 +++ b/acore/pcm_native.patch Sat Oct 21 12:36:41 2006 -0700 @@ -1,11 +1,23 @@ ---- ../alsa-kernel/core/pcm_native.c 2006-10-04 11:55:09.000000000 +0200 -+++ pcm_native.c 2006-10-04 17:01:36.000000000 +0200 +--- ../alsa-kernel/core/pcm_native.c 2006-10-08 09:54:15.000000000 -0700 ++++ pcm_native.c 2006-10-21 12:26:28.000000000 -0700 @@ -1,3 +1,4 @@ +#define __NO_VERSION__ /* * Digital Audio (PCM) abstract layer * Copyright (c) by Jaroslav Kysela -@@ -363,7 +364,10 @@ static int period_to_usecs(struct snd_pc +@@ -25,7 +26,11 @@ + #include + #include + #include ++#if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 18) + #include ++#else ++#include ++#endif + #include + #include + #include +@@ -363,7 +368,10 @@ return usecs; } --- a/acore/sound.patch Mon Oct 16 21:36:50 2006 +0200 +++ b/acore/sound.patch Sat Oct 21 12:36:41 2006 -0700 @@ -1,16 +1,17 @@ ---- ../alsa-kernel/core/sound.c 2006-09-29 15:42:47.000000000 +0200 -+++ sound.c 2006-09-29 15:43:57.000000000 +0200 -@@ -41,6 +41,9 @@ +--- ../alsa-kernel/core/sound.c 2006-10-08 09:54:15.000000000 -0700 ++++ sound.c 2006-10-21 12:30:30.000000000 -0700 +@@ -41,6 +41,10 @@ EXPORT_SYMBOL(snd_major); static int cards_limit = 1; +#ifdef CONFIG_DEVFS_FS +static int device_mode = S_IFCHR | S_IRUGO | S_IWUGO; ++static struct snd_minor *mptr; +#endif MODULE_AUTHOR("Jaroslav Kysela "); MODULE_DESCRIPTION("Advanced Linux Sound Architecture driver for soundcards."); -@@ -49,6 +52,10 @@ +@@ -49,6 +53,10 @@ MODULE_PARM_DESC(major, "Major # for sound driver."); module_param(cards_limit, int, 0444); MODULE_PARM_DESC(cards_limit, "Count of auto-loadable soundcards.");