sci-libs/cantera: 2.4.0-r1. Fix 'fatal' warning
authorband-a-prend <torokhov-s-a@yandex.ru>
Wed, 17 Jul 2019 15:03:27 +0000 (18:03 +0300)
committerMichał Górny <mgorny@gentoo.org>
Fri, 19 Jul 2019 16:44:56 +0000 (18:44 +0200)
commitfa0bc77060e83768e5e5620fdf6ecbfd6546bd99
tree25ca9befc19467cd53d70bfda793ec041b791462
parent0e331ec643b7933a8d37bfb7bb9591b324231574
sci-libs/cantera: 2.4.0-r1. Fix 'fatal' warning

The SConstruct script contains block that tries to evaluate
'git rev-parse --short HEAD` comand and returns the
"fatal: not a git repository (or any parent up to mount point /var/tmp)"
warning from git command itself if git is installed in system.
It occurs because the release package archive doesn't contain ".git" directory.
This behaviour doesn't affect emerge process but can confuse
in the case of other issues.

Closes: https://bugs.gentoo.org/689998
Signed-off-by: Sergey Torokhov <torokhov_s_a@mail.ru>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sci-libs/cantera/files/cantera_2.4.0_env.patch