From 3250e1cc297105cfc0d27eb24cdd1f1f16616023 Mon Sep 17 00:00:00 2001 From: Leonid Plyushch Date: Sun, 8 Mar 2020 19:38:34 +0200 Subject: [PATCH] gitea: update Makefile.patch --- packages/gitea/Makefile.patch | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/gitea/Makefile.patch b/packages/gitea/Makefile.patch index b6b2ee86c..d86a0f171 100644 --- a/packages/gitea/Makefile.patch +++ b/packages/gitea/Makefile.patch @@ -1,12 +1,12 @@ -diff -uNr gitea-1.11.1/Makefile gitea-1.11.1.mod/Makefile ---- gitea-1.11.1/Makefile 2020-02-17 01:22:39.000000000 +0200 -+++ gitea-1.11.1.mod/Makefile 2020-02-17 18:30:57.301574003 +0200 -@@ -158,7 +158,7 @@ +diff -uNr gitea-1.11.2/Makefile gitea-1.11.2.mod/Makefile +--- gitea-1.11.2/Makefile 2020-03-06 09:38:11.000000000 +0200 ++++ gitea-1.11.2.mod/Makefile 2020-03-08 19:37:43.594425248 +0200 +@@ -430,7 +430,7 @@ .PHONY: generate - generate: js css + generate: - GO111MODULE=on $(GO) generate -mod=vendor $(PACKAGES) + GO111MODULE=on CGO_ENABLED=0 CGO_LDFLAGS="" CGO_CFLAGS="" GOOS=linux GOARCH=amd64 $(GO) generate -mod=vendor $(PACKAGES) - .PHONY: generate-swagger - generate-swagger: + $(EXECUTABLE): $(GO_SOURCES) + GO111MODULE=on $(GO) build -mod=vendor $(GOFLAGS) $(EXTRA_GOFLAGS) -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@