summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy Redaelli <drizzt@gentoo.org>2009-02-02 16:02:52 +0000
committerTimothy Redaelli <drizzt@gentoo.org>2009-02-02 16:02:52 +0000
commitbe4d37ad33acb2a9614c6305aeee1c97760cb193 (patch)
tree8f172fda73fc146f7bc38903c060a323f7a51f58 /sys-fs/cdfs
parentstable ppc64, bug 256163 (diff)
downloadgentoo-2-be4d37ad33acb2a9614c6305aeee1c97760cb193.tar.gz
gentoo-2-be4d37ad33acb2a9614c6305aeee1c97760cb193.tar.bz2
gentoo-2-be4d37ad33acb2a9614c6305aeee1c97760cb193.zip
Version bump and fix for kernel 2.6.28
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/cdfs')
-rw-r--r--sys-fs/cdfs/ChangeLog10
-rw-r--r--sys-fs/cdfs/cdfs-2.6.27.ebuild29
-rw-r--r--sys-fs/cdfs/files/cdfs-2.6.27-kernel-2.6.28.patch11
3 files changed, 48 insertions, 2 deletions
diff --git a/sys-fs/cdfs/ChangeLog b/sys-fs/cdfs/ChangeLog
index cafcc7ad70ac..7c35c561a2cb 100644
--- a/sys-fs/cdfs/ChangeLog
+++ b/sys-fs/cdfs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/cdfs
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/cdfs/ChangeLog,v 1.8 2008/01/05 10:27:30 drizzt Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cdfs/ChangeLog,v 1.9 2009/02/02 16:02:51 drizzt Exp $
+
+*cdfs-2.6.27 (02 Feb 2009)
+
+ 02 Feb 2009; <drizzt@gentoo.org> +files/cdfs-2.6.27-kernel-2.6.28.patch,
+ +cdfs-2.6.27.ebuild:
+ Version bump and fix for kernel 2.6.28
*cdfs-2.6.23 (05 Jan 2008)
diff --git a/sys-fs/cdfs/cdfs-2.6.27.ebuild b/sys-fs/cdfs/cdfs-2.6.27.ebuild
new file mode 100644
index 000000000000..2c1bdb30de98
--- /dev/null
+++ b/sys-fs/cdfs/cdfs-2.6.27.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/cdfs/cdfs-2.6.27.ebuild,v 1.1 2009/02/02 16:02:51 drizzt Exp $
+
+inherit eutils linux-mod
+
+DESCRIPTION="A file system for Linux systems that 'exports' all tracks and boot images on a CD as normal files."
+HOMEPAGE="http://www.elis.rug.ac.be/~ronsse/cdfs/"
+SRC_URI="http://www.elis.rug.ac.be/~ronsse/cdfs/download/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RDEPENDS=""
+DEPENDS=""
+
+MODULE_NAMES="cdfs(fs)"
+CONFIG_CHECK="BLK_DEV_LOOP"
+BUILD_TARGETS="all"
+BUILD_PARAMS="KDIR=\"${KERNEL_DIR}\""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-2.6.19-kernel-2.6.22.patch
+ epatch "${FILESDIR}"/${P}-kernel-2.6.28.patch
+}
diff --git a/sys-fs/cdfs/files/cdfs-2.6.27-kernel-2.6.28.patch b/sys-fs/cdfs/files/cdfs-2.6.27-kernel-2.6.28.patch
new file mode 100644
index 000000000000..b462cb5987a3
--- /dev/null
+++ b/sys-fs/cdfs/files/cdfs-2.6.27-kernel-2.6.28.patch
@@ -0,0 +1,11 @@
+--- cddata.c.orig 2009-02-02 16:37:43.000000000 +0100
++++ cddata.c 2009-02-02 16:38:03.000000000 +0100
+@@ -82,7 +82,7 @@
+ .mmap = generic_file_mmap
+ #else
+ .mmap = generic_file_readonly_mmap,
+- .sendfile = generic_file_sendfile
++ .splice_read = generic_file_splice_read
+ #endif
+ };
+