Looks to have the same CFLAGS changed issue that alsa suffers from. It might be a good idea to keep an eye on bug 207427. If there's any further information I can provide, please just let me know... 5:) * Preparing gspca module make -C /usr/src/linux M=/var/tmp/portage/media-video/gspcav1-20070508/work/gspcav1-20070508 CC=i686-pc-linux-gnu-gcc modules make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo' scripts/Makefile.build:46: *** CFLAGS was changed in "/var/tmp/portage/media-video/gspcav1-20070508/work/gspcav1-20070508/Makefile". Fix it to use EXTRA_CFLAGS. Stop. make[1]: *** [_module_/var/tmp/portage/media-video/gspcav1-20070508/work/gspcav1-20070508] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo' make: *** [default] Error 2
*** Bug 207955 has been marked as a duplicate of this bug. ***
*** Bug 201202 has been marked as a duplicate of this bug. ***
Solution: use the newest version, gspcav1-20071224 (not in portage for some reason). Just rename the 20070508 ebuild to gspcav1-20071224.ebuild and it all works.
As Alex says, bumping to gspcav1-20071224 will solve this problem, but if people really do want to stick with 20070508 I patched this way back in the first few 2.6.24-rc kernels. Patch attached: gspcav1-20070508-kernel24.patch
Created attachment 142246 [details, diff] Make gspcav1-20070508 compatible with 2.6.24
Will the newest version get added to portage?
(In reply to comment #5) > Created an attachment (id=142246) [edit] > Make gspcav1-20070508 compatible with 2.6.24 > patch failed: PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/media-video/gspcav1/files/gspcav1-20070508-kernel24.patch =========================================== patching file gspcav1-20070508/gspca_core.c Hunk #3 FAILED at 2674. 1 out of 3 hunks FAILED -- saving rejects to file gspcav1-20070508/gspca_core.c.rej patching file gspcav1-20070508/Makefile Hunk #1 FAILED at 28. 1 out of 1 hunk FAILED -- saving rejects to file gspcav1-20070508/Makefile.rej ===========================================
20071224 is in the tree, try that instead