summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-04-30 10:23:34 -0700
committerZac Medico <zmedico@gentoo.org>2019-04-30 10:24:17 -0700
commit5c3b2c3adcd43304ca980b9549b4506d48f6454f (patch)
tree6261f08d56d7fef19d9fa5e7a085a9fb4b81e3e7 /app-admin/consul-template
parentapp-admin/consul-template: remove old version 0.18.5-r1 (diff)
downloadgentoo-5c3b2c3adcd43304ca980b9549b4506d48f6454f.tar.gz
gentoo-5c3b2c3adcd43304ca980b9549b4506d48f6454f.tar.bz2
gentoo-5c3b2c3adcd43304ca980b9549b4506d48f6454f.zip
app-admin/consul-template: fix log format string (bug 684812)
Reported-by: Toralf Förster <toralf@gentoo.org> Closes: https://bugs.gentoo.org/684812 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-admin/consul-template')
-rw-r--r--app-admin/consul-template/consul-template-0.19.5.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/app-admin/consul-template/consul-template-0.19.5.ebuild b/app-admin/consul-template/consul-template-0.19.5.ebuild
index dfa6bf036b0b..ab75ab08e38d 100644
--- a/app-admin/consul-template/consul-template-0.19.5.ebuild
+++ b/app-admin/consul-template/consul-template-0.19.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -31,6 +31,9 @@ src_prepare() {
sed -e "s:git rev-parse --short HEAD:echo ${GIT_COMMIT}:" \
-e '/-s \\/d' \
-i src/${EGO_PN}/Makefile || die
+ # Printf format %q has arg r.config.PidFile of wrong type *string
+ sed -e 's|remove pid at %q: %s|remove pid at %v: %s|' \
+ -i src/${EGO_PN}/manager/runner.go || die
}
src_compile() {