1 |
commit: 5c3b2c3adcd43304ca980b9549b4506d48f6454f |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 30 17:23:34 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 30 17:24:17 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c3b2c3a |
7 |
|
8 |
app-admin/consul-template: fix log format string (bug 684812) |
9 |
|
10 |
Reported-by: Toralf Förster <toralf <AT> gentoo.org> |
11 |
Closes: https://bugs.gentoo.org/684812 |
12 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
13 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
14 |
|
15 |
app-admin/consul-template/consul-template-0.19.5.ebuild | 5 ++++- |
16 |
1 file changed, 4 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/app-admin/consul-template/consul-template-0.19.5.ebuild b/app-admin/consul-template/consul-template-0.19.5.ebuild |
19 |
index dfa6bf036b0..ab75ab08e38 100644 |
20 |
--- a/app-admin/consul-template/consul-template-0.19.5.ebuild |
21 |
+++ b/app-admin/consul-template/consul-template-0.19.5.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2018 Gentoo Foundation |
24 |
+# Copyright 1999-2019 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=6 |
28 |
@@ -31,6 +31,9 @@ src_prepare() { |
29 |
sed -e "s:git rev-parse --short HEAD:echo ${GIT_COMMIT}:" \ |
30 |
-e '/-s \\/d' \ |
31 |
-i src/${EGO_PN}/Makefile || die |
32 |
+ # Printf format %q has arg r.config.PidFile of wrong type *string |
33 |
+ sed -e 's|remove pid at %q: %s|remove pid at %v: %s|' \ |
34 |
+ -i src/${EGO_PN}/manager/runner.go || die |
35 |
} |
36 |
|
37 |
src_compile() { |