From 464653ba2a37e4735b8e80fa0860f53a628367af Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sat, 26 May 2018 13:08:36 -0400 Subject: [PATCH] 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 9cd364683405..31b356a6c96c 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 } -- 2.26.2