diff options
Diffstat (limited to 'meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch')
-rw-r--r-- | meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch b/meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch new file mode 100644 index 0000000000..dcd8582ca6 --- /dev/null +++ b/meta/recipes-support/gnupg/gnupg/0004-autogen.sh-fix-find-version-for-beta-checking.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 914ae4a3f7529fb069467bf0ded57dd24ee2e763 Mon Sep 17 00:00:00 2001 | ||
2 | From: Wenzong Fan <wenzong.fan@windriver.com> | ||
3 | Date: Wed, 16 Aug 2017 11:23:22 +0800 | ||
4 | Subject: [PATCH 4/4] autogen.sh: fix find-version for beta checking | ||
5 | |||
6 | find-version always assumes that gnupg is beta if autogen.sh is run | ||
7 | out of git-repo. This doesn't work for users whom just take release | ||
8 | tarball and re-run autoconf in their local build dir. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | |||
12 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
13 | |||
14 | Rebase to 2.1.23 | ||
15 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
16 | --- | ||
17 | autogen.sh | 1 - | ||
18 | 1 file changed, 1 deletion(-) | ||
19 | |||
20 | diff --git a/autogen.sh b/autogen.sh | ||
21 | index e5ba5bf..05e0e11 100755 | ||
22 | --- a/autogen.sh | ||
23 | +++ b/autogen.sh | ||
24 | @@ -245,7 +245,6 @@ if [ "$myhost" = "find-version" ]; then | ||
25 | rvd=$((0x$(echo ${rev} | dd bs=1 count=4 2>/dev/null))) | ||
26 | else | ||
27 | ingit=no | ||
28 | - beta=yes | ||
29 | tmp="-unknown" | ||
30 | rev="0000000" | ||
31 | rvd="0" | ||
32 | -- | ||
33 | 1.8.3.1 | ||
34 | |||