epatch.eclass: drop 'estack.eclass' usage
authorSergei Trofimovich <slyfox@gentoo.org>
Fri, 10 Aug 2018 23:46:23 +0000 (00:46 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 18 Aug 2018 23:28:04 +0000 (00:28 +0100)
commitb21e386a064e1ed49981d9527f968ddc5e1eeb86
treee4cfb5477459c3c04c338e8dca5a91049d07a00f
parent8df9e4fbef06fbbff0d370b4f30cc1932d04410b
epatch.eclass: drop 'estack.eclass' usage

Avoid use of eshopts_push / eshopts_pop functions
as they don't preserve expand_aliases shell option
and get detected by QA warning as:
  * QA Notice: Global shell options changed and were
  not restored while calling 'src_prepare'

Ssee bug #662586 for details.

Tested as:
    $ EPATCH_USER_EXCLUDE="*" ebuild gcc-8.2.0.ebuild clean prepare

Bug: https://bugs.gentoo.org/662586
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
eclass/epatch.eclass