Skip to content

Commit 8c78902

Browse files
BrewTestBotchenrui333daeho-ro
committed
loki 3.5.1
loki: update build patch Co-authored-by: Rui Chen <[email protected]> Co-authored-by: Daeho Ro <[email protected]>
1 parent 226e695 commit 8c78902

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Formula/l/loki.rb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Loki < Formula
22
desc "Horizontally-scalable, highly-available log aggregation system"
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

@@ -37,6 +37,13 @@ class Loki < Formula
3737
sha256 "4e2925424bcd7a093f4986d3005c888b98edcdae82b71ec4d71b957f4a9cbcfb"
3838
end
3939

40+
# Fix to link: duplicated definition of symbol dlopen
41+
# PR ref: https://github.com/grafana/loki/pull/17807
42+
patch do
43+
url "https://raw.githubusercontent.com/Homebrew/formula-patches/f49c120b0918dd76de81af961a1041a29d080ff0/loki/loki-3.5.1-purego.patch"
44+
sha256 "fbbbaea8e2069ef0a8fc721f592c48bb50f1224d7eff94afe87dfb184692a9b4"
45+
end
46+
4047
def install
4148
cd "cmd/loki" do
4249
system "go", "build", *std_go_args(ldflags: "-s -w")

0 commit comments

Comments
 (0)