summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2012-05-05 12:59:48 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2012-05-05 12:59:48 +0000
commitab33ccf867820f32a7b2a6ad4262e9320bec19f4 (patch)
tree5273ff93dedc1b811420d31f287746c48ec512b2 /sys-fs/ocfs2-tools/ocfs2-tools-1.6.4-r1.ebuild
parentAdd keywords for darcs 2.8.0. [profile?] for haskell libs (part of fix for bu... (diff)
downloadgentoo-2-ab33ccf867820f32a7b2a6ad4262e9320bec19f4.tar.gz
gentoo-2-ab33ccf867820f32a7b2a6ad4262e9320bec19f4.tar.bz2
gentoo-2-ab33ccf867820f32a7b2a6ad4262e9320bec19f4.zip
[sys-fs/ocfs2-tools] Fix building with recent kernels
(Portage version: 2.2.0_alpha101/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/ocfs2-tools/ocfs2-tools-1.6.4-r1.ebuild')
-rw-r--r--sys-fs/ocfs2-tools/ocfs2-tools-1.6.4-r1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys-fs/ocfs2-tools/ocfs2-tools-1.6.4-r1.ebuild b/sys-fs/ocfs2-tools/ocfs2-tools-1.6.4-r1.ebuild
index 7d164841dd40..9ba6562d8c30 100644
--- a/sys-fs/ocfs2-tools/ocfs2-tools-1.6.4-r1.ebuild
+++ b/sys-fs/ocfs2-tools/ocfs2-tools-1.6.4-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/ocfs2-tools/ocfs2-tools-1.6.4-r1.ebuild,v 1.1 2012/02/21 14:29:00 ultrabug Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/ocfs2-tools/ocfs2-tools-1.6.4-r1.ebuild,v 1.2 2012/05/05 12:59:47 alexxy Exp $
EAPI=4
PYTHON_DEPEND="gtk? 2"
@@ -41,6 +41,11 @@ DOCS=(
MAKEOPTS+=" -j1"
+PATCHES=(
+ "${FILESDIR}/${P}-asneeded.patch"
+ "${FILESDIR}/${PN}-recent-kernels.patch"
+ )
+
pkg_setup() {
python_set_active_version 2
python_pkg_setup
@@ -51,7 +56,7 @@ src_prepare() {
sed -e 's:"/dlm/":"/sys/kernel/dlm":g' \
-i libo2dlm/o2dlm_test.c \
-i libocfs2/dlm.c || die "sed failed"
- epatch "${FILESDIR}"/${P}-asneeded.patch
+ epatch ${PATCHES[@]}
rm -f aclocal.m4
AT_M4DIR=. eautoreconf
}