app-admin/consul-template: fix log format string (bug 684812)
authorZac Medico <zmedico@gentoo.org>
Tue, 30 Apr 2019 17:23:34 +0000 (10:23 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 30 Apr 2019 17:24:17 +0000 (10:24 -0700)
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>
app-admin/consul-template/consul-template-0.19.5.ebuild

index dfa6bf036b0bd48ffaaae20017c37bfa8d514376..ab75ab08e38d2f756c5ed1f32faf5b3dc67f93d5 100644 (file)
@@ -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() {