public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Vikraman Choudhury" <vikraman@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-block/rts_pstor/, sys-block/rts_pstor/files/
Date: Thu, 17 Sep 2015 05:34:06 +0000 (UTC)	[thread overview]
Message-ID: <1442467877.3228822133e5f35922c0426418468d994aa02f89.vikraman@gentoo> (raw)

commit:     3228822133e5f35922c0426418468d994aa02f89
Author:     Vikraman Choudhury <vikraman <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 17 05:31:17 2015 +0000
Commit:     Vikraman Choudhury <vikraman <AT> gentoo <DOT> org>
CommitDate: Thu Sep 17 05:31:17 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32288221

sys-block/rts_pstor: Fix build with kernel 4.2.0

Gentoo-Bug: 559668

Package-Manager: portage-2.2.20.1

 sys-block/rts_pstor/files/rts_pstor-vmalloc.patch  | 44 ++++++++++++++++++++++
 ...tor-1.10-r4.ebuild => rts_pstor-1.10-r5.ebuild} |  1 +
 2 files changed, 45 insertions(+)

diff --git a/sys-block/rts_pstor/files/rts_pstor-vmalloc.patch b/sys-block/rts_pstor/files/rts_pstor-vmalloc.patch
new file mode 100644
index 0000000..3b3f4be
--- /dev/null
+++ b/sys-block/rts_pstor/files/rts_pstor-vmalloc.patch
@@ -0,0 +1,44 @@
+diff -Naur rts_pstor.a/ms.c rts_pstor.b/ms.c
+--- rts_pstor.a/ms.c	2011-01-11 04:11:07.000000000 -0500
++++ rts_pstor.b/ms.c	2015-09-17 01:28:41.816067799 -0400
+@@ -23,6 +23,7 @@
+ #include <linux/blkdev.h>
+ #include <linux/kthread.h>
+ #include <linux/sched.h>
++#include <linux/vmalloc.h>
+ 
+ #include "rtsx.h"
+ #include "rtsx_transport.h"
+diff -Naur rts_pstor.a/rtsx_chip.c rts_pstor.b/rtsx_chip.c
+--- rts_pstor.a/rtsx_chip.c	2011-01-11 04:11:07.000000000 -0500
++++ rts_pstor.b/rtsx_chip.c	2015-09-17 01:28:13.680536901 -0400
+@@ -24,6 +24,7 @@
+ #include <linux/kthread.h>
+ #include <linux/sched.h>
+ #include <linux/workqueue.h>
++#include <linux/vmalloc.h>
+ 
+ #include "rtsx.h"
+ #include "rtsx_transport.h"
+diff -Naur rts_pstor.a/rtsx_scsi.c rts_pstor.b/rtsx_scsi.c
+--- rts_pstor.a/rtsx_scsi.c	2011-01-11 04:11:07.000000000 -0500
++++ rts_pstor.b/rtsx_scsi.c	2015-09-17 01:28:42.688053259 -0400
+@@ -23,6 +23,7 @@
+ #include <linux/blkdev.h>
+ #include <linux/kthread.h>
+ #include <linux/sched.h>
++#include <linux/vmalloc.h>
+ 
+ #include "rtsx.h"
+ #include "rtsx_transport.h"
+diff -Naur rts_pstor.a/xd.c rts_pstor.b/xd.c
+--- rts_pstor.a/xd.c	2011-01-11 04:11:07.000000000 -0500
++++ rts_pstor.b/xd.c	2015-09-17 01:28:42.689053242 -0400
+@@ -23,6 +23,7 @@
+ #include <linux/blkdev.h>
+ #include <linux/kthread.h>
+ #include <linux/sched.h>
++#include <linux/vmalloc.h>
+ 
+ #include "rtsx.h"
+ #include "rtsx_transport.h"

diff --git a/sys-block/rts_pstor/rts_pstor-1.10-r4.ebuild b/sys-block/rts_pstor/rts_pstor-1.10-r5.ebuild
similarity index 96%
rename from sys-block/rts_pstor/rts_pstor-1.10-r4.ebuild
rename to sys-block/rts_pstor/rts_pstor-1.10-r5.ebuild
index c24eb58..91bcd74 100644
--- a/sys-block/rts_pstor/rts_pstor-1.10-r4.ebuild
+++ b/sys-block/rts_pstor/rts_pstor-1.10-r5.ebuild
@@ -30,6 +30,7 @@ src_prepare() {
 		&& epatch "${FILESDIR}/${PN}-linux-3.8.patch"
 	([ ${KV_MAJOR} -gt 3 ] || ([ ${KV_MAJOR} -eq 3 ] && [ ${KV_MINOR} -ge 10 ])) \
 		&& epatch "${FILESDIR}/${PN}-linux-3.10.patch"
+	epatch "${FILESDIR}/${PN}-vmalloc.patch"
 }
 
 pkg_setup() {


             reply	other threads:[~2015-09-17  5:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-17  5:34 Vikraman Choudhury [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-03-09  5:55 [gentoo-commits] repo/gentoo:master commit in: sys-block/rts_pstor/, sys-block/rts_pstor/files/ Joonas Niilola

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=1442467877.3228822133e5f35922c0426418468d994aa02f89.vikraman@gentoo \
    --to=vikraman@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