File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 11class Promtail < Formula
22 desc "Log agent for Loki"
33 homepage "https://grafana.com/loki"
4- url "https://github.com/grafana/loki/archive/refs/tags/v3.5.0 .tar.gz"
5- sha256 "584d7f45cc85f884e8eb7e8ed8c35eacd2157c6edd0f2a2d0161ba39d22b86ae "
4+ url "https://github.com/grafana/loki/archive/refs/tags/v3.5.1 .tar.gz"
5+ sha256 "d360561de7ac97d05a6fc1dc0ca73d93c11a86234783dfd9ae92033300caabd7 "
66 license "AGPL-3.0-only"
77 head "https://github.com/grafana/loki.git" , branch : "main"
88
@@ -25,6 +25,13 @@ class Promtail < Formula
2525 depends_on "systemd"
2626 end
2727
28+ # Fix to link: duplicated definition of symbol dlopen
29+ # PR ref: https://github.com/grafana/loki/pull/17807
30+ patch do
31+ url "https://raw.githubusercontent.com/Homebrew/formula-patches/f49c120b0918dd76de81af961a1041a29d080ff0/loki/loki-3.5.1-purego.patch"
32+ sha256 "fbbbaea8e2069ef0a8fc721f592c48bb50f1224d7eff94afe87dfb184692a9b4"
33+ end
34+
2835 def install
2936 cd "clients/cmd/promtail" do
3037 system "go" , "build" , *std_go_args ( ldflags : "-s -w" )
You can’t perform that action at this time.
0 commit comments