Skip to content

Commit

Permalink
eclass/eutils.eclass: epatch_user: Strip subslot when taking patches …
Browse files Browse the repository at this point in the history
…from /etc/portage/patches/$CAT/$PN:$SLOT. Bug #574966.

This makes it similar to what portage does with eapply_user.
  • Loading branch information
aballier committed Feb 17, 2016
1 parent f85d12e commit 5a08a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclass/eutils.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -1731,7 +1731,7 @@ epatch_user() {

# don't clobber any EPATCH vars that the parent might want
local EPATCH_SOURCE check
for check in ${CATEGORY}/{${P}-${PR},${P},${PN}}{,:${SLOT}}; do
for check in ${CATEGORY}/{${P}-${PR},${P},${PN}}{,:${SLOT%/*}}; do
EPATCH_SOURCE=${EPATCH_USER_SOURCE}/${CTARGET}/${check}
[[ -r ${EPATCH_SOURCE} ]] || EPATCH_SOURCE=${EPATCH_USER_SOURCE}/${CHOST}/${check}
[[ -r ${EPATCH_SOURCE} ]] || EPATCH_SOURCE=${EPATCH_USER_SOURCE}/${check}
Expand Down

0 comments on commit 5a08a63

Please sign in to comment.