SPECS: VirtualBox.spec - hack for building kernel modules on x86_64
arekm
arekm at pld-linux.org
Sat Feb 2 18:32:42 CET 2008
Author: arekm Date: Sat Feb 2 17:32:42 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- hack for building kernel modules on x86_64
---- Files affected:
SPECS:
VirtualBox.spec (1.49 -> 1.50)
---- Diffs:
================================================================
Index: SPECS/VirtualBox.spec
diff -u SPECS/VirtualBox.spec:1.49 SPECS/VirtualBox.spec:1.50
--- SPECS/VirtualBox.spec:1.49 Sat Feb 2 17:37:14 2008
+++ SPECS/VirtualBox.spec Sat Feb 2 18:32:36 2008
@@ -263,6 +263,11 @@
../src/VBox/Additions/linux/export_modules modules.tar.gz
tar -zxf modules.tar.gz && rm -f modules.tar.gz
+%ifarch %{x8664}
+# HACK, is this really safe on x86_64?
+sed -i -e 's:#.*define.*RTMEMALLOC_EXEC_HEAP::g' vboxadd/r0drv/linux/alloc-r0drv-linux.c vboxvfs/r0drv/linux/alloc-r0drv-linux.c
+%endif
+
%build_kernel_modules -m vboxadd -C vboxadd
%build_kernel_modules -m vboxdrv -C vboxdrv
cp -a vboxadd/Module.symvers vboxvfs
@@ -441,6 +446,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.50 2008-02-02 17:32:36 arekm
+- hack for building kernel modules on x86_64
+
Revision 1.49 2008-02-02 16:37:14 arekm
- 2.6.24 unified arch
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/VirtualBox.spec?r1=1.49&r2=1.50&f=u
More information about the pld-cvs-commit
mailing list