projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d96296
)
dev-util/spirv-tools: Fix SHA1 hash generation for 9999
author
Niklas Haas
<bgo@nand.wakku.to>
Sat, 26 May 2018 17:08:36 +0000
(13:08 -0400)
committer
Nick Sarnie
<sarnex@gentoo.org>
Sat, 26 May 2018 17:10:16 +0000
(13:10 -0400)
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
patch
|
blob
|
history
diff --git
a/dev-util/spirv-tools/spirv-tools-9999.ebuild
b/dev-util/spirv-tools/spirv-tools-9999.ebuild
index 9cd364683405a3cdc3cd74789b65685e09854610..31b356a6c96c9972c2fe74b71a125d39f6b6c5cf 100644
(file)
--- 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
}