From e0df387907c6c2ea1983c4cdba474c7f326c1b25 Mon Sep 17 00:00:00 2001 From: Sebastien Fabbro Date: Thu, 26 Nov 2009 21:34:17 +0000 Subject: Fixing patch application with more recent versions (Portage version: 2.2_rc52/cvs/Linux x86_64) --- sci-physics/paw/ChangeLog | 6 +++++- sci-physics/paw/paw-2.14.04-r2.ebuild | 8 +++++--- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'sci-physics/paw') diff --git a/sci-physics/paw/ChangeLog b/sci-physics/paw/ChangeLog index 13ee870305e4..be27c97f997f 100644 --- a/sci-physics/paw/ChangeLog +++ b/sci-physics/paw/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-physics/paw # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/ChangeLog,v 1.15 2009/09/17 19:11:27 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/ChangeLog,v 1.16 2009/11/26 21:34:17 bicatali Exp $ + + 26 Nov 2009; Sébastien Fabbro + paw-2.14.04-r2.ebuild: + Fixing patch application with more recent versions 17 Sep 2009; Sébastien Fabbro paw-2.14.04-r2.ebuild: diff --git a/sci-physics/paw/paw-2.14.04-r2.ebuild b/sci-physics/paw/paw-2.14.04-r2.ebuild index 229c6a3d4989..85003c68b0b4 100644 --- a/sci-physics/paw/paw-2.14.04-r2.ebuild +++ b/sci-physics/paw/paw-2.14.04-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/paw-2.14.04-r2.ebuild,v 1.13 2009/09/17 19:11:27 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/paw/paw-2.14.04-r2.ebuild,v 1.14 2009/11/26 21:34:17 bicatali Exp $ EAPI=2 inherit eutils toolchain-funcs @@ -31,11 +31,13 @@ DEPEND="${RDEPEND} x11-misc/imake x11-misc/makedepend" -S="${WORKDIR}/${DEB_PN}-${DEB_PV}.orig" +S="${WORKDIR}/${DEB_PN}-${DEB_PV}" src_prepare() { cd "${WORKDIR}" - epatch "${WORKDIR}"/${DEB_P}-${DEB_PR}.diff + sed -i -e 's:/tmp/dp.*/cern:cern:g' ${DEB_P}-${DEB_PR}.diff || die + epatch ${DEB_P}-${DEB_PR}.diff + mv ${DEB_PN}-${DEB_PV}{.orig,}/upstream cd "${S}" cp debian/add-ons/Makefile . export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck" -- cgit v1.2.3-65-gdbad