Skip to content

Commit 8c41bf8

Browse files
BrewTestBotchenrui333daeho-ro
committed
logcli 3.5.1
logcli: add build patch Co-authored-by: Rui Chen <[email protected]> Co-authored-by: Daeho Ro <[email protected]>
1 parent b02b0ca commit 8c41bf8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Formula/l/logcli.rb

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Logcli < Formula
22
desc "Run LogQL queries against a Loki server"
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

@@ -22,6 +22,13 @@ class Logcli < Formula
2222
depends_on "go" => :build
2323
depends_on "loki" => :test
2424

25+
# Fix to link: duplicated definition of symbol dlopen
26+
# PR ref: https://github.com/grafana/loki/pull/17807
27+
patch do
28+
url "https://raw.githubusercontent.com/Homebrew/formula-patches/f49c120b0918dd76de81af961a1041a29d080ff0/loki/loki-3.5.1-purego.patch"
29+
sha256 "fbbbaea8e2069ef0a8fc721f592c48bb50f1224d7eff94afe87dfb184692a9b4"
30+
end
31+
2532
def install
2633
ldflags = %W[
2734
-s -w

0 commit comments

Comments
 (0)