Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=602942
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
--- /dev/null
+Index: trunk/src/VBox/HostDrivers/Support/SUPDrvInternal.h
+===================================================================
+--- a/vboxdrv/SUPDrvInternal.h
++++ b/vboxdrv/SUPDrvInternal.h
+@@ -65,7 +65,4 @@
+ # include <linux/modversions.h>
+ # endif
+-# endif
+-# if LINUX_VERSION_CODE > KERNEL_VERSION(2, 6, 0)
+-# undef ALIGN
+ # endif
+ # ifndef KBUILD_STR
<email>masterzorag@gmail.com</email>
<description>Proxy maintainer. CC him on bugs</description>
</maintainer>
-<use>
- <flag name="pax_kernel">Apply patch needed for pax enabled kernels</flag>
-</use>
+ <use>
+ <flag name="pax_kernel">Apply patch needed for pax enabled kernels</flag>
+ </use>
</pkgmetadata>
BUILD_TARGET_ARCH="${ARCH}"
MODULE_NAMES="vboxdrv(misc:${S}) vboxnetflt(misc:${S}) vboxnetadp(misc:${S}) vboxpci(misc:${S})"
+PATCHES=(
+ "${FILESDIR}"/${P}-ALIGN-backport.patch
+)
+
pkg_setup() {
enewgroup vboxusers