diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-07-21 13:17:09 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-07-22 00:31:27 +0200 |
commit | ab2bacd4f96e2f9d17552d1fe881b824c3ee7eec (patch) | |
tree | 7b9e94bb1b7f62bff7664591c05bfb462ed3516e /eclass/llvm.org.eclass | |
parent | media-tv/plex-media-server: remove old version 1.23.3.4707 (diff) | |
download | gentoo-ab2bacd4f96e2f9d17552d1fe881b824c3ee7eec.tar.gz gentoo-ab2bacd4f96e2f9d17552d1fe881b824c3ee7eec.tar.bz2 gentoo-ab2bacd4f96e2f9d17552d1fe881b824c3ee7eec.zip |
llvm.org.eclass: Add a check for missing Gentoo-Comp in patches
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass/llvm.org.eclass')
-rw-r--r-- | eclass/llvm.org.eclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/llvm.org.eclass b/eclass/llvm.org.eclass index d0b172e4fed4..83f8127a4bd7 100644 --- a/eclass/llvm.org.eclass +++ b/eclass/llvm.org.eclass @@ -202,6 +202,12 @@ llvm.org_src_unpack() { fi if [[ -n ${LLVM_PATCHSET} ]]; then + local nocomp=$(grep -r -L "^Gentoo-Component:" \ + "${WORKDIR}/llvm-gentoo-patchset-${LLVM_PATCHSET}") + if [[ -n ${nocomp} ]]; then + die "Patches lacking Gentoo-Component found: ${nocomp}" + fi + # strip patches that don't match current components local IFS='|' grep -E -r -L "^Gentoo-Component:.*(${components[*]})" \ |