Gentoo Archives: gentoo-commits

From: Nick Sarnie <sarnex@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/spirv-tools/
Date: Sat, 26 May 2018 17:10:32
Message-Id: 1527354616.464653ba2a37e4735b8e80fa0860f53a628367af.sarnex@gentoo
1 commit: 464653ba2a37e4735b8e80fa0860f53a628367af
2 Author: Niklas Haas <bgo <AT> nand <DOT> wakku <DOT> to>
3 AuthorDate: Sat May 26 17:08:36 2018 +0000
4 Commit: Nick Sarnie <sarnex <AT> gentoo <DOT> org>
5 CommitDate: Sat May 26 17:10:16 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=464653ba
7
8 dev-util/spirv-tools: Fix SHA1 hash generation for 9999
9
10 git-r3 already does exactly what we want
11
12 Fixes: https://bugs.gentoo.org/656560
13 Package-Manager: Portage-2.3.40, Repoman-2.3.9
14
15 dev-util/spirv-tools/spirv-tools-9999.ebuild | 3 +--
16 1 file changed, 1 insertion(+), 2 deletions(-)
17
18 diff --git a/dev-util/spirv-tools/spirv-tools-9999.ebuild b/dev-util/spirv-tools/spirv-tools-9999.ebuild
19 index 9cd36468340..31b356a6c96 100644
20 --- a/dev-util/spirv-tools/spirv-tools-9999.ebuild
21 +++ b/dev-util/spirv-tools/spirv-tools-9999.ebuild
22 @@ -32,6 +32,5 @@ multilib_src_install() {
23
24 # create a header file with the commit hash of the current revision
25 # vulkan-tools needs this to build
26 - local revision="$(git-r3_peek_remote_ref)" &> /dev/null
27 - echo "${revision}" > "${D}/usr/include/${PN}/${PN}-commit.h" || die
28 + echo "${EGIT_VERSION}" > "${D}/usr/include/${PN}/${PN}-commit.h" || die
29 }