commit:     522cd6e89adee59ada33211f90ef0473d7a6aa0c
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 15 15:58:44 2021 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Sep 15 15:58:44 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=522cd6e8

sys-apps/hwids: restore mtime before calling make fetch

Closes: https://bugs.gentoo.org/813219
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 sys-apps/hwids/hwids-99999999.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys-apps/hwids/hwids-99999999.ebuild 
b/sys-apps/hwids/hwids-99999999.ebuild
index 2f0cac8f8f5..8c09f82f4f2 100644
--- a/sys-apps/hwids/hwids-99999999.ebuild
+++ b/sys-apps/hwids/hwids-99999999.ebuild
@@ -28,6 +28,7 @@ RDEPEND="
 
 if [[ ${PV} == 99999999 ]]; then
        BDEPEND="
+               dev-vcs/git-tools
                net-misc/curl
                udev? ( $(python_gen_any_dep 
'dev-python/pyparsing[${PYTHON_USEDEP}]') )
        "
@@ -48,6 +49,7 @@ src_unpack() {
        if [[ ${PV} == 99999999 ]]; then
                git-r3_src_unpack
                cd "${S}" || die
+               git-restore-mtime || die
                emake fetch
        else
                default

Reply via email to