diff options
| author | Krzesimir Nowak <knowak@microsoft.com> | 2022-06-29 17:05:23 +0200 |
|---|---|---|
| committer | Kenton Groombridge <concord@gentoo.org> | 2022-06-30 13:03:24 -0400 |
| commit | a0be96d697774e1d79685290f3a0547dba118673 (patch) | |
| tree | 0a543dcf5e56bc05bbd35be1d8d716c686db126d /dev-python/asyncstdlib/asyncstdlib-3.10.5.ebuild | |
| parent | 34abc17c83bc4e9425e34cbfe8fdd87eadc6f106 (diff) | |
| download | gentoo-a0be96d697774e1d79685290f3a0547dba118673.tar.gz gentoo-a0be96d697774e1d79685290f3a0547dba118673.tar.bz2 gentoo-a0be96d697774e1d79685290f3a0547dba118673.zip | |
eclass/selinux-policy-2: fix POLICY_PATCH applying
eapply as implemented in portage has some heuristics to find out where
the parameters that should be passed to patch utility end and actual
diff/patch files begin. It first tries to find -- which is the
explicit way of separating parameters from input files. Since there's
none, it tries to find a first non-option. And it finds the refpolicy
directory as a first non-option, while it is supposed to be a value of
the -d parameter. The said directory is then treated as an input
directory, which is expected to contain at least one patch or diff
file. Since there's none, eapply fails.
Help eapply's heuristics by explicitly delimiting the parameters from
input files with --.
Bug: https://bugs.gentoo.org/794682
Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
Closes: https://github.com/gentoo/gentoo/pull/26148
Signed-off-by: Kenton Groombridge <concord@gentoo.org>
Diffstat (limited to 'dev-python/asyncstdlib/asyncstdlib-3.10.5.ebuild')
0 files changed, 0 insertions, 0 deletions
