From: Patrice Clement Date: Tue, 17 Nov 2015 14:04:03 +0000 (+0000) Subject: sys-apps/shadow: Gather patches in PATCHES array. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=1a5e7b8fb58f1f4e3bdfc5351c28985407100590;p=gentoo.git sys-apps/shadow: Gather patches in PATCHES array. Package-Manager: portage-2.2.20.1 Signed-off-by: Patrice Clement --- diff --git a/sys-apps/shadow/shadow-4.2.1-r2.ebuild b/sys-apps/shadow/shadow-4.2.1-r2.ebuild index 32acfbc02963..c376f1e08915 100644 --- a/sys-apps/shadow/shadow-4.2.1-r2.ebuild +++ b/sys-apps/shadow/shadow-4.2.1-r2.ebuild @@ -35,10 +35,14 @@ DEPEND="${RDEPEND} RDEPEND="${RDEPEND} pam? ( >=sys-auth/pambase-20150213 )" +PATCHES=( + "${FILESDIR}"/${PN}-4.1.3-dots-in-usernames.patch + "${FILESDIR}"/${P}-cross-size-checks.patch + "${FILESDIR}"/${P}-verbose-error-when-uid-doesnt-match.patch +) + src_prepare() { - epatch "${FILESDIR}"/${PN}-4.1.3-dots-in-usernames.patch #22920 - epatch "${FILESDIR}"/${P}-cross-size-checks.patch - epatch "${FILESDIR}"/${P}-verbose-error-when-uid-doesnt-match.patch + epatch "${PATCHES[@]}" epatch_user # https://github.com/shadow-maint/shadow/pull/5 mv configure.{in,ac} || die