public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Justin Lecher" <jlec@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox-modules/, app-emulation/virtualbox-modules/files/
Date: Sun, 18 Dec 2016 11:41:58 +0000 (UTC)	[thread overview]
Message-ID: <1482061317.3f41f9237243fd7b26a7885dfcf9ab1a8cd90397.jlec@gentoo> (raw)

commit:     3f41f9237243fd7b26a7885dfcf9ab1a8cd90397
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 11:41:45 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Dec 18 11:41:57 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f41f923

app-emulation/virtualbox-modules: Backport fix for compatibility with linux-4.9

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 <AT> gentoo.org>

 .../files/virtualbox-modules-5.1.10-ALIGN-backport.patch     | 12 ++++++++++++
 app-emulation/virtualbox-modules/metadata.xml                |  6 +++---
 .../virtualbox-modules/virtualbox-modules-5.1.10.ebuild      |  4 ++++
 3 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/app-emulation/virtualbox-modules/files/virtualbox-modules-5.1.10-ALIGN-backport.patch b/app-emulation/virtualbox-modules/files/virtualbox-modules-5.1.10-ALIGN-backport.patch
new file mode 100644
index 00000000..1bc3fdd
--- /dev/null
+++ b/app-emulation/virtualbox-modules/files/virtualbox-modules-5.1.10-ALIGN-backport.patch
@@ -0,0 +1,12 @@
+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

diff --git a/app-emulation/virtualbox-modules/metadata.xml b/app-emulation/virtualbox-modules/metadata.xml
index 18da31a..851d70d 100644
--- a/app-emulation/virtualbox-modules/metadata.xml
+++ b/app-emulation/virtualbox-modules/metadata.xml
@@ -9,7 +9,7 @@
     <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>

diff --git a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.10.ebuild b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.10.ebuild
index 76cc8f0..847e3c7 100644
--- a/app-emulation/virtualbox-modules/virtualbox-modules-5.1.10.ebuild
+++ b/app-emulation/virtualbox-modules/virtualbox-modules-5.1.10.ebuild
@@ -27,6 +27,10 @@ BUILD_TARGETS="all"
 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
 


             reply	other threads:[~2016-12-18 11:42 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-18 11:41 Justin Lecher [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-24  7:30 [gentoo-commits] repo/gentoo:master commit in: app-emulation/virtualbox-modules/, app-emulation/virtualbox-modules/files/ Viorel Munteanu
2025-05-29 17:22 Viorel Munteanu
2025-05-29  8:46 Viorel Munteanu
2024-02-24  9:02 Viorel Munteanu
2023-08-14 15:29 Viorel Munteanu
2020-12-14 10:56 Lars Wendler
2019-11-27 12:17 Lars Wendler
2018-02-16 13:12 Lars Wendler
2016-07-14  9:28 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1482061317.3f41f9237243fd7b26a7885dfcf9ab1a8cd90397.jlec@gentoo \
    --to=jlec@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox