summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2021-03-25 11:53:14 -0700
committerPatrick McLean <chutzpah@gentoo.org>2021-03-25 11:53:14 -0700
commit5e850fa723a5ed727bc209b633aa6838e162b129 (patch)
tree949e8c4ffa83aec690380bab66b8aab7d51b41f5 /app-misc/jq
parentnet-wireless/gr-osmosdr: add missing deps (diff)
downloadgentoo-5e850fa723a5ed727bc209b633aa6838e162b129.tar.gz
gentoo-5e850fa723a5ed727bc209b633aa6838e162b129.tar.bz2
gentoo-5e850fa723a5ed727bc209b633aa6838e162b129.zip
app-misc/jq-1.7_pre20201109: Add patch for git bdep (bug #776385)
Closes: https://bugs.gentoo.org/776385 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'app-misc/jq')
-rw-r--r--app-misc/jq/files/jq-1.7_pre20201109-no-git-bdep.patch13
-rw-r--r--app-misc/jq/jq-1.7_pre20201109.ebuild2
2 files changed, 15 insertions, 0 deletions
diff --git a/app-misc/jq/files/jq-1.7_pre20201109-no-git-bdep.patch b/app-misc/jq/files/jq-1.7_pre20201109-no-git-bdep.patch
new file mode 100644
index 000000000000..726624df13d6
--- /dev/null
+++ b/app-misc/jq/files/jq-1.7_pre20201109-no-git-bdep.patch
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 0441d4a..592ceb9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -1,8 +1,3 @@
+-m4_define([jq_version],
+- m4_esyscmd_s([(git rev-parse --verify -q jq-1.0 > /dev/null &&
+- (git describe --tags --dirty --match 'jq-*'|sed 's/^jq-//')) ||
+- echo `git rev-parse --abbrev-ref HEAD`-`git describe --always --dirty`])))
+-
+ AC_INIT([jq], [jq_version], [https://github.com/stedolan/jq/issues],
+ [jq], [https://stedolan.github.io/jq])
+
diff --git a/app-misc/jq/jq-1.7_pre20201109.ebuild b/app-misc/jq/jq-1.7_pre20201109.ebuild
index 41e4b14e2afb..22f1f4f05b57 100644
--- a/app-misc/jq/jq-1.7_pre20201109.ebuild
+++ b/app-misc/jq/jq-1.7_pre20201109.ebuild
@@ -34,6 +34,8 @@ PATCHES=(
"${FILESDIR}"/jq-1.7-runpath.patch
"${FILESDIR}"/jq-1.7-warnings.patch
"${FILESDIR}"/jq-1.7-visible-null.patch
+ # https://bugs.gentoo.org/776385
+ "${FILESDIR}"/jq-1.7_pre20201109-no-git-bdep.patch
)
RESTRICT="!test? ( test )"