Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 131676 - KQemu-0.7.2 MODULE_PARM fix
Summary: KQemu-0.7.2 MODULE_PARM fix
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-29 06:50 UTC by Nicolas Boichat
Modified: 2006-05-09 08:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
kqemu-0.7.2-fix_module_parm.patch (kqemu-0.7.2-fix_module_parm.patch,914 bytes, patch)
2006-04-29 06:51 UTC, Nicolas Boichat
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Boichat 2006-04-29 06:50:08 UTC
2.6.17-* dropped MODULE_PARM.

(Same problem as bug #128470 for kqemu 1.3.0)
Comment 1 Nicolas Boichat 2006-04-29 06:51:40 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
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-29 07:19:09 UTC
Why don't you use 1.3.0 which is fixed?
Comment 3 Luca Barbato gentoo-dev 2006-05-06 00:46:06 UTC
I'm going to remove old qemu ebuilds soon, you need the old version for particular reasons?
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-07 05:12:13 UTC
the new version is masked, that is why we have this problem.
Unmask it and all will be fine :)
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-08 02:53:52 UTC
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?
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2006-05-08 13:47:36 UTC
I fixed kqemu-0.7.2 and kqemu-1.3.0_pre7, thanks!
Comment 7 Nicolas Boichat 2006-05-09 08:29:14 UTC
Works fine. Thanks.