From e73b0fb0fd1094c1d07664d0b4aaefaff527f289 Mon Sep 17 00:00:00 2001 From: Pascal Stumpf Date: Sun, 24 Mar 2013 14:32:22 +0100 Subject: [PATCH] bitcoin: don't try to use git --- net/bitcoin/patches/patch-share_genbuild_sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 net/bitcoin/patches/patch-share_genbuild_sh diff --git a/net/bitcoin/patches/patch-share_genbuild_sh b/net/bitcoin/patches/patch-share_genbuild_sh new file mode 100644 index 0000000000..853c9507f9 --- /dev/null +++ b/net/bitcoin/patches/patch-share_genbuild_sh @@ -0,0 +1,21 @@ +$OpenBSD$ +--- share/genbuild.sh.orig Sun Mar 24 14:31:42 2013 ++++ share/genbuild.sh Sun Mar 24 14:31:50 2013 +@@ -11,17 +11,6 @@ else + exit 1 + fi + +-if [ -e "$(which git)" ]; then +- # clean 'dirty' status of touched files that haven't been modified +- git diff >/dev/null 2>/dev/null +- +- # get a string like "v0.6.0-66-g59887e8-dirty" +- DESC="$(git describe --dirty 2>/dev/null)" +- +- # get a string like "2012-04-10 16:27:19 +0200" +- TIME="$(git log -n 1 --format="%ci")" +-fi +- + if [ -n "$DESC" ]; then + NEWINFO="#define BUILD_DESC \"$DESC\"" + else