Even though the 2.6 kernel provides ALSA, the tools and possibly other ALSA dependant packages won't build. Reproducible: Always Steps to Reproduce: 1. build 2.6 kernel with ALSA 2. DON'T have alsa-driver install 3. attempt to build alsa-tools Actual Results: build fails because it can't find the correct headers Expected Results: build should have used the headers of the currently running kernel instead of those in /usr/include where the alsa-driver package puts them. if some sort of conditional check can be devised to determine if the ALSA driver is being provided by alsa-driver or by the kernel, the following line can be changed: econf || die "configuration failure" to econf --with-soundbase=/usr/src/linux/include || die "configuration failure" or some variant thereof (if there is a 2.4 kernel in /usr/src/linux but a 2.6 kernel in /usr/src/linux-beta)
kernel-team: is this useable ?
The check used in nvidia-kernel would probably work.
Can you work up a patch based on the test in nvidia-kernel, and make sure it works correctly?
Created attachment 18862 [details, diff] patch for alsa-tools to work with 2.6.0 headers Never made a patch before, so I hope it works right. The modified ebuild works for me.
this has already been fixed in cvs so please close this bug
Ok, so that's a better solution....ignore my patch, then.
users claim it's fixed :)