Summary: | KQemu-0.7.2 MODULE_PARM fix | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Nicolas Boichat <nicolas> |
Component: | New packages | Assignee: | Luca Barbato <lu_zero> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | genstef |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | kqemu-0.7.2-fix_module_parm.patch |
Description
Nicolas Boichat
2006-04-29 06:50:08 UTC
Created attachment 85765 [details, diff]
kqemu-0.7.2-fix_module_parm.patch
Patch for kqemu-0.7.2.ebuild to apply this patch.
--- /usr/portage/app-emulation/kqemu/kqemu-0.7.2.ebuild 2006-04-20 00:05:34.000000000 +0200
+++ kqemu-0.7.2.ebuild 2006-04-29 15:34:01.000000000 +0200
@@ -39,6 +39,9 @@ src_unpack() {
# The class_simple interfaces were removed in 2.6.13-rc1, leaving only
# GPL symbols behind, which this module can't use. Until there's a fix
# from Fabrice, kqemu+udev no worky.
+
+ epatch "${FILESDIR}/${P}-fix_module_parm.patch"
+
cd ${S}
# Ensure mprotect restrictions are relaxed for emulator binaries
Why don't you use 1.3.0 which is fixed? I'm going to remove old qemu ebuilds soon, you need the old version for particular reasons? the new version is masked, that is why we have this problem. Unmask it and all will be fine :) sed -i 's:MODULE_PARM(\([^,]*\),"i");:module_param(\1, int, 0);:' /var/tmp/portage/kqemu-1.3.0_pre7/work/kqemu-1.3.0pre7/kqemu-linux.c I had to do that today, seems 1.3 is not fixed? I fixed kqemu-0.7.2 and kqemu-1.3.0_pre7, thanks! Works fine. Thanks. |