summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefaan De Roeck <stefaan@gentoo.org>2008-05-05 13:30:20 +0000
committerStefaan De Roeck <stefaan@gentoo.org>2008-05-05 13:30:20 +0000
commit15dee12f2c57cfdc1c3ed1cd9189b17c898c6186 (patch)
treec022a2a8bbef4f915fa73e2f27155a0a831bb628 /net-fs/autofs
parentalpha/sparc stable wrt #219332 (diff)
downloadgentoo-2-15dee12f2c57cfdc1c3ed1cd9189b17c898c6186.tar.gz
gentoo-2-15dee12f2c57cfdc1c3ed1cd9189b17c898c6186.tar.bz2
gentoo-2-15dee12f2c57cfdc1c3ed1cd9189b17c898c6186.zip
Patch patches in temporary directory (fixes bug #220315)
(Portage version: 2.1.5_rc6)
Diffstat (limited to 'net-fs/autofs')
-rw-r--r--net-fs/autofs/ChangeLog5
-rw-r--r--net-fs/autofs/autofs-5.0.3-r5.ebuild12
2 files changed, 12 insertions, 5 deletions
diff --git a/net-fs/autofs/ChangeLog b/net-fs/autofs/ChangeLog
index 2daecb42adbe..eba85d3020fa 100644
--- a/net-fs/autofs/ChangeLog
+++ b/net-fs/autofs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-fs/autofs
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.72 2008/05/03 09:16:59 stefaan Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/ChangeLog,v 1.73 2008/05/05 13:30:20 stefaan Exp $
+
+ 05 May 2008; Stefaan De Roeck <stefaan@gentoo.org> autofs-5.0.3-r5.ebuild:
+ Patch patches in temporary directory (fixes bug #220315)
*autofs-5.0.3-r5 (03 May 2008)
diff --git a/net-fs/autofs/autofs-5.0.3-r5.ebuild b/net-fs/autofs/autofs-5.0.3-r5.ebuild
index a497ff0c14f3..7afb26503a5c 100644
--- a/net-fs/autofs/autofs-5.0.3-r5.ebuild
+++ b/net-fs/autofs/autofs-5.0.3-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-5.0.3-r5.ebuild,v 1.1 2008/05/03 09:16:59 stefaan Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/autofs/autofs-5.0.3-r5.ebuild,v 1.2 2008/05/05 13:30:20 stefaan Exp $
inherit eutils multilib autotools
@@ -34,8 +34,6 @@ KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
src_unpack() {
unpack ${P}.tar.bz2
- patch "${DISTDIR}"/${P}-map-type-in-map-name.patch \
- < "${FILESDIR}"/${P}-map-patch-fix.patch || die "failed to patch"
PATCH_LIST="
${P}-ldap-page-control-configure-fix.patch
${P}-xfn-not-supported.patch
@@ -53,7 +51,13 @@ src_unpack() {
${P}-map-type-in-map-name.patch
${P}-mount-thread-create-cond-handling.patch"
for i in ${PATCH_LIST}; do
- EPATCH_OPTS="-p1 -d ${S}" epatch ${DISTDIR}/${i}
+ cp ${DISTDIR}/${i} ${T}
+ done
+ patch "${T}"/${P}-map-type-in-map-name.patch \
+ < "${FILESDIR}"/${P}-map-patch-fix.patch || die "failed to patch"
+ for i in ${PATCH_LIST}; do
+ EPATCH_OPTS="-p1 -d ${S}" epatch ${T}/${i}
+ rm -f ${T}/${i}
done
# fixes bug #210762