[vlc-devel] [PATCH 3.0 02/16] Contribs: fix gcrypt git init for reconf
Martin Storsjö
martin at martin.st
Fri Jun 19 23:26:53 CEST 2020
From: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit d1fdad239e32b601931725d5ff88bd16205695ac)
Signed-off-by: Martin Storsjö <martin at martin.st>
---
contrib/src/gcrypt/rules.mak | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/contrib/src/gcrypt/rules.mak b/contrib/src/gcrypt/rules.mak
index 9e5e851530..aa9fbf0a4c 100644
--- a/contrib/src/gcrypt/rules.mak
+++ b/contrib/src/gcrypt/rules.mak
@@ -76,7 +76,8 @@ endif
.gcrypt: gcrypt
# Reconfiguring this requires a git repo to be available, to
# successfully produce a nonempty mym4_revision_dec.
- git init && git commit --allow-empty -m "dummy commit"
+ git init && git config --local user.email "cone at example.com" && git config --local user.name "Cony Cone" && \
+ git commit --allow-empty -m "dummy commit"
$(RECONF)
cd $< && $(HOSTVARS) CFLAGS="$(CFLAGS) $(GCRYPT_EXTRA_CFLAGS)" ./configure $(HOSTCONF) $(GCRYPT_CONF)
cd $< && $(MAKE) install
--
2.17.1
More information about the vlc-devel
mailing list