commit:     a895b4764f99fc7f8f17ea4a966bc80bff283391
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  6 07:42:44 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr  6 12:47:56 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a895b476

sys-devel/clang: Fix incorrect +x on scan-build.1 manpage

 sys-devel/clang/clang-4.0.0-r1.ebuild | 2 ++
 sys-devel/clang/clang-9999.ebuild     | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/sys-devel/clang/clang-4.0.0-r1.ebuild 
b/sys-devel/clang/clang-4.0.0-r1.ebuild
index b8ce12c11d4..703190f0bf5 100644
--- a/sys-devel/clang/clang-4.0.0-r1.ebuild
+++ b/sys-devel/clang/clang-4.0.0-r1.ebuild
@@ -296,4 +296,6 @@ multilib_src_install_all() {
        docompress "/usr/lib/llvm/${SLOT}/share/man"
        # match 'html' non-compression
        use doc && docompress -x "/usr/share/doc/${PF}/tools-extra"
+       # +x for some reason; TODO: investigate
+       use static-analyzer && fperms a-x 
"/usr/lib/llvm/${SLOT}/share/man/man1/scan-build.1"
 }

diff --git a/sys-devel/clang/clang-9999.ebuild 
b/sys-devel/clang/clang-9999.ebuild
index cd95492a02c..c28114fd1a9 100644
--- a/sys-devel/clang/clang-9999.ebuild
+++ b/sys-devel/clang/clang-9999.ebuild
@@ -293,4 +293,6 @@ multilib_src_install_all() {
        docompress "/usr/lib/llvm/${SLOT}/share/man"
        # match 'html' non-compression
        use doc && docompress -x "/usr/share/doc/${PF}/tools-extra"
+       # +x for some reason; TODO: investigate
+       use static-analyzer && fperms a-x 
"/usr/lib/llvm/${SLOT}/share/man/man1/scan-build.1"
 }

Reply via email to