commit: 464653ba2a37e4735b8e80fa0860f53a628367af Author: Niklas Haas <bgo <AT> nand <DOT> wakku <DOT> to> AuthorDate: Sat May 26 17:08:36 2018 +0000 Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org> CommitDate: Sat May 26 17:10:16 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=464653ba
dev-util/spirv-tools: Fix SHA1 hash generation for 9999 git-r3 already does exactly what we want Fixes: https://bugs.gentoo.org/656560 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-util/spirv-tools/spirv-tools-9999.ebuild | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev-util/spirv-tools/spirv-tools-9999.ebuild b/dev-util/spirv-tools/spirv-tools-9999.ebuild index 9cd36468340..31b356a6c96 100644 --- a/dev-util/spirv-tools/spirv-tools-9999.ebuild +++ b/dev-util/spirv-tools/spirv-tools-9999.ebuild @@ -32,6 +32,5 @@ multilib_src_install() { # create a header file with the commit hash of the current revision # vulkan-tools needs this to build - local revision="$(git-r3_peek_remote_ref)" &> /dev/null - echo "${revision}" > "${D}/usr/include/${PN}/${PN}-commit.h" || die + echo "${EGIT_VERSION}" > "${D}/usr/include/${PN}/${PN}-commit.h" || die }
