summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2009-01-15 01:28:21 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2009-01-15 01:28:21 +0000
commit8e1443ddda1ae8c8ae8fbc7390388e58f21483e7 (patch)
tree09bb94ec5b5fee5b592b9c5c8a48d1ab48e8e77e /sys-block/iscsitarget
parentVersion bump for various bug fixes. This is a stable candidate. (diff)
downloadgentoo-2-8e1443ddda1ae8c8ae8fbc7390388e58f21483e7.tar.gz
gentoo-2-8e1443ddda1ae8c8ae8fbc7390388e58f21483e7.tar.bz2
gentoo-2-8e1443ddda1ae8c8ae8fbc7390388e58f21483e7.zip
Fix patch to build properly.
(Portage version: 2.2_rc22/cvs/Linux 2.6.28-gentoo x86_64)
Diffstat (limited to 'sys-block/iscsitarget')
-rw-r--r--sys-block/iscsitarget/ChangeLog6
-rw-r--r--sys-block/iscsitarget/files/iscsitarget-0.4.17+linux-2.6.28.patch4
2 files changed, 8 insertions, 2 deletions
diff --git a/sys-block/iscsitarget/ChangeLog b/sys-block/iscsitarget/ChangeLog
index 163b874b8d2d..caf87122e795 100644
--- a/sys-block/iscsitarget/ChangeLog
+++ b/sys-block/iscsitarget/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-block/iscsitarget
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/iscsitarget/ChangeLog,v 1.20 2009/01/02 23:46:09 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/iscsitarget/ChangeLog,v 1.21 2009/01/15 01:28:20 flameeyes Exp $
+
+ 15 Jan 2009; Diego E. Pettenò <flameeyes@gentoo.org>
+ files/iscsitarget-0.4.17+linux-2.6.28.patch:
+ Fix patch to build properly.
02 Jan 2009; Diego E. Pettenò <flameeyes@gentoo.org>
-files/iscsitarget-0.4.15-build.patch,
diff --git a/sys-block/iscsitarget/files/iscsitarget-0.4.17+linux-2.6.28.patch b/sys-block/iscsitarget/files/iscsitarget-0.4.17+linux-2.6.28.patch
index 0c11074f0b44..ec35cd526f4c 100644
--- a/sys-block/iscsitarget/files/iscsitarget-0.4.17+linux-2.6.28.patch
+++ b/sys-block/iscsitarget/files/iscsitarget-0.4.17+linux-2.6.28.patch
@@ -18,10 +18,12 @@ diff --git a/kernel/block-io.c b/kernel/block-io.c
index e4a25f7..2c5f6f6 100644
--- a/kernel/block-io.c
+++ b/kernel/block-io.c
-@@ -18,6 +18,12 @@
+@@ -18,6 +18,14 @@
#include "iscsi_dbg.h"
#include "iotype.h"
++#include <linux/version.h>
++
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 28)
+# define HAVE_OPEN_BDEV_EXCLUSIVE 1
+#else