From: Benda Xu Date: Sun, 15 Jan 2017 02:40:33 +0000 (+0900) Subject: dev-python/python-lzo: revise prefix support. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=4d872480ca285ce258f3f6953da46ccc79f42bc9;p=gentoo.git dev-python/python-lzo: revise prefix support. The original part of the patch should not be prefixified. Package-Manager: portage-2.3.3 --- 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 ddfebfd56f02..9aa56da4f19c 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)" }