The configure script and Makefile check for a 2.4 kernel by checking for "PATCHLEVEL = 4" in the kernel's Makefile, assuming the VERSION is 2. These checks fail for the 3.4 kernel leading to a build failure. Reproducible: Always
Created attachment 312795 [details, diff] Support 3.4 kernel This patch changes the configure script and Makefile to check the kernel's Makefile for VERSION = 2 and PATCHLEVEL = 4 to detect a 2.4 kernel rather than relying on PATCHLEVEL = 4 alone. This allows kqemu-1.4.0_pre1 to be built for 3.4.x kernels.
Created attachment 312797 [details, diff] Support 3.4 kernel - CORRECTED This is a corrected version of the previous patch. The previous patch worked but one of the grep commands in the configure script was wrong. This version of the patch fixes it. From original version of patch: This patch changes the configure script and Makefile to check the kernel's Makefile for VERSION = 2 and PATCHLEVEL = 4 to detect a 2.4 kernel rather than relying on PATCHLEVEL = 4 alone. This allows kqemu-1.4.0_pre1 to be built for 3.4.x kernels.
Nice patch, fixed problem for me. If ebuild is reworked, needs to be made compatible with epatch_user to ease future user patching like this. BillK
kqemu is masked for removal so this will not be fixed.