From 95c061b0ea87119901a1c81c1eb9dae3d2e2b297 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Thu, 27 Jan 2022 14:27:56 -0600 Subject: app-containers/cosign: fix makefile Thanks to ionen for this fix. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: William Hubbs --- app-containers/cosign/cosign-1.5.0.ebuild | 4 ++++ app-containers/cosign/files/cosign-1.5.0-fix-makefile.patch | 13 +++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 app-containers/cosign/files/cosign-1.5.0-fix-makefile.patch diff --git a/app-containers/cosign/cosign-1.5.0.ebuild b/app-containers/cosign/cosign-1.5.0.ebuild index f1320114bcd2..801eb64a2691 100644 --- a/app-containers/cosign/cosign-1.5.0.ebuild +++ b/app-containers/cosign/cosign-1.5.0.ebuild @@ -13,6 +13,10 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" +PATCHES=( + "${FILESDIR}"/${P}-fix-makefile.patch +) + src_prepare() { default mv ../vendor . || die diff --git a/app-containers/cosign/files/cosign-1.5.0-fix-makefile.patch b/app-containers/cosign/files/cosign-1.5.0-fix-makefile.patch new file mode 100644 index 000000000000..15cdc7511136 --- /dev/null +++ b/app-containers/cosign/files/cosign-1.5.0-fix-makefile.patch @@ -0,0 +1,13 @@ +--- a/Makefile 2022-01-22 16:06:02.000000000 -0500 ++++ b/Makefile 2022-01-27 15:06:43.986094208 -0500 +@@ -71,8 +71,8 @@ + checkfmt: SHELL := /usr/bin/env bash + checkfmt: ## Check formatting of all go files + @ $(MAKE) --no-print-directory log-$@ +- $(shell test -z "$(shell gofmt -l $(GOFILES) | tee /dev/stderr)") +- $(shell test -z "$(shell goimports -l $(GOFILES) | tee /dev/stderr)") ++ $(shell test -z "$(shell gofmt -l $(GOFILES) | tee /dev/stderr)") ++ $(shell test -z "$(shell goimports -l $(GOFILES) | tee /dev/stderr)") + + .PHONY: fmt + fmt: ## Format all go files -- cgit v1.2.3-65-gdbad