commit: 4d872480ca285ce258f3f6953da46ccc79f42bc9
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 15 02:40:33 2017 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Jan 15 02:40:51 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d872480
dev-python/python-lzo: revise prefix support.
The original part of the patch should not be prefixified.
Package-Manager: portage-2.3.3
dev-python/python-lzo/python-lzo-1.08-r1.ebuild | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dev-python/python-lzo/python-lzo-1.08-r1.ebuild
b/dev-python/python-lzo/python-lzo-1.08-r1.ebuild
index ddfebfd..9aa56da 100644
--- a/dev-python/python-lzo/python-lzo-1.08-r1.ebuild
+++ b/dev-python/python-lzo/python-lzo-1.08-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -24,5 +24,6 @@ python_test() {
}
src_prepare() {
- epatch "$(prefixify_ro "${FILESDIR}"/lzo2compat.patch)"
+ epatch "$(PREFIX_LINE_MATCH='/##/!' \
+ prefixify_ro "${FILESDIR}"/lzo2compat.patch)"
}