Without the --with-kernel-src option, davfs2 builds to use the CODA2 protocol, but 2.6 kernels come with CODA3. My solution was to check for a 2.4 kernel & only do that patch if it is. See attached patch. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 61808 [details, diff] Adds a check for kernel version before patching.
The problem with 2.6 kernels is that they can be configured to support either CODA2 or CODA3 (I don't know how it works with 2.4 -- is there an option to select CODA2/3 support, or do the 2.4 kernels support only a single version of the protocol?). If the user happens to have the kernel compiled with CONFIG_CODA_FS_OLD_API=n, everything works just fine. However, if he sets CONFIG_CODA_FS_OLD_API to y, things start to break (davfs builds against CODA3, and the kernel only supports CODA2).
So you are telling me that the ebuild does not work for 2.4 or for 2.6 kernels? I am confused because as I understand you mean it does not work on 2.6, but it works on my 2.6-kernel.
thanks, fixed