Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=kernel2633.git;a=commitdiff;h=92e830ba599c20ba2056be020bd82143a82b8571

commit 92e830ba599c20ba2056be020bd82143a82b8571
Author: Miklos Vajna <vmik...@frugalware.org>
Date:   Sat Mar 13 18:10:11 2010 +0100

virtualbox-modules-3.0.12-7-i686

- add kernel-2.6.33.patch

diff --git a/source/apps-extra/virtualbox-modules/FrugalBuild 
b/source/apps-extra/virtualbox-modules/FrugalBuild
index e7539d7..4229376 100644
--- a/source/apps-extra/virtualbox-modules/FrugalBuild
+++ b/source/apps-extra/virtualbox-modules/FrugalBuild
@@ -3,7 +3,7 @@

pkgname=virtualbox-modules
pkgver=3.0.12
-pkgrel=6
+pkgrel=7
pkgdesc="Kernel modules for VirtualBox"
url="http://www.virtualbox.org";
Finclude kernel-module
@@ -13,12 +13,16 @@ groups=('apps-extra')
archs=('i686' 'x86_64')
license=('GPL-2')
up2date="lynx -dump ${url}|grep released|sed 's/.* \([0-9.]*\) .*/\1/;q'"
-source=(http://gentoo.zerodev.it/files/vbox-kernel-module-src-${pkgver}.tar.bz2
  ${pkgname}.install)
+source=(http://gentoo.zerodev.it/files/vbox-kernel-module-src-${pkgver}.tar.bz2
  ${pkgname}.install\
+       kernel-2.6.33.patch)
options=('scriptlet' 'genscriptlet')
sha1sums=('fa02bff8062a332875e4d8269871db7f7d3bd5f6' \
-          'e529d5411395df6dcb64c303ea0956d92eb29516')
+          'e529d5411395df6dcb64c303ea0956d92eb29516' \
+          '280ba431e961217aa777688d3d3dc56d946c2117')

build() {
+       _F_cd_path="."
+       Fpatchall
Fmkdir ${_F_kernelmod_dir}/kernel/misc

make KERN_DIR=${_F_kernelmod_dir}/build 
MODULE_DIR_TST=${Fdestdir}/${_F_kernelmod_dir} \
diff --git a/source/apps-extra/virtualbox-modules/kernel-2.6.33.patch 
b/source/apps-extra/virtualbox-modules/kernel-2.6.33.patch
new file mode 100644
index 0000000..9078aa6
--- /dev/null
+++ b/source/apps-extra/virtualbox-modules/kernel-2.6.33.patch
@@ -0,0 +1,91 @@
+diff --git a/vboxdrv/SUPDrvInternal.h b/vboxdrv/SUPDrvInternal.h
+index f51717f..7034437 100644
+--- a/vboxdrv/SUPDrvInternal.h
++++ b/vboxdrv/SUPDrvInternal.h
+@@ -78,7 +78,7 @@
+     RT_C_DECLS_END
+
+ #elif defined(RT_OS_LINUX)
+-#   include <linux/autoconf.h>
++#   include <generated/autoconf.h>
+ #   include <linux/version.h>
+ #   if defined(CONFIG_MODVERSIONS) && !defined(MODVERSIONS)
+ #       define MODVERSIONS
+diff --git a/vboxdrv/include/iprt/types.h b/vboxdrv/include/iprt/types.h
+index 5d33962..2f5a06d 100644
+--- a/vboxdrv/include/iprt/types.h
++++ b/vboxdrv/include/iprt/types.h
+@@ -84,7 +84,7 @@
+ #  define true linux_true
+ #  define false linux_false
+ #  define uintptr_t linux_uintptr_t
+-#  include <linux/autoconf.h>
++#  include <generated/autoconf.h>
+ #  include <linux/types.h>
+ #  include <linux/stddef.h>
+ #  undef uintptr_t
+diff --git a/vboxdrv/r0drv/linux/the-linux-kernel.h 
b/vboxdrv/r0drv/linux/the-linux-kernel.h
+index b40c910..ce2b4b9 100644
+--- a/vboxdrv/r0drv/linux/the-linux-kernel.h
++++ b/vboxdrv/r0drv/linux/the-linux-kernel.h
+@@ -38,7 +38,7 @@
+ #include <iprt/types.h>
+ #define bool linux_bool
+
+-#include <linux/autoconf.h>
++#include <generated/autoconf.h>
+ #include <linux/version.h>
+
+ /* We only support 2.4 and 2.6 series kernels */
+diff --git a/vboxnetadp/include/iprt/types.h b/vboxnetadp/include/iprt/types.h
+index 5d33962..2f5a06d 100644
+--- a/vboxnetadp/include/iprt/types.h
++++ b/vboxnetadp/include/iprt/types.h
+@@ -84,7 +84,7 @@
+ #  define true linux_true
+ #  define false linux_false
+ #  define uintptr_t linux_uintptr_t
+-#  include <linux/autoconf.h>
++#  include <generated/autoconf.h>
+ #  include <linux/types.h>
+ #  include <linux/stddef.h>
+ #  undef uintptr_t
+diff --git a/vboxnetadp/r0drv/linux/the-linux-kernel.h 
b/vboxnetadp/r0drv/linux/the-linux-kernel.h
+index b40c910..ce2b4b9 100644
+--- a/vboxnetadp/r0drv/linux/the-linux-kernel.h
++++ b/vboxnetadp/r0drv/linux/the-linux-kernel.h
+@@ -38,7 +38,7 @@
+ #include <iprt/types.h>
+ #define bool linux_bool
+
+-#include <linux/autoconf.h>
++#include <generated/autoconf.h>
+ #include <linux/version.h>
+
+ /* We only support 2.4 and 2.6 series kernels */
+diff --git a/vboxnetflt/include/iprt/types.h b/vboxnetflt/include/iprt/types.h
+index 5d33962..2f5a06d 100644
+--- a/vboxnetflt/include/iprt/types.h
++++ b/vboxnetflt/include/iprt/types.h
+@@ -84,7 +84,7 @@
+ #  define true linux_true
+ #  define false linux_false
+ #  define uintptr_t linux_uintptr_t
+-#  include <linux/autoconf.h>
++#  include <generated/autoconf.h>
+ #  include <linux/types.h>
+ #  include <linux/stddef.h>
+ #  undef uintptr_t
+diff --git a/vboxnetflt/r0drv/linux/the-linux-kernel.h 
b/vboxnetflt/r0drv/linux/the-linux-kernel.h
+index b40c910..ce2b4b9 100644
+--- a/vboxnetflt/r0drv/linux/the-linux-kernel.h
++++ b/vboxnetflt/r0drv/linux/the-linux-kernel.h
+@@ -38,7 +38,7 @@
+ #include <iprt/types.h>
+ #define bool linux_bool
+
+-#include <linux/autoconf.h>
++#include <generated/autoconf.h>
+ #include <linux/version.h>
+
+ /* We only support 2.4 and 2.6 series kernels */
_______________________________________________
Frugalware-git mailing list
Frugalware-git@frugalware.org
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to