Skip to content

Commit fb7426a

Browse files
committed
vitess: add go1.26 build patch
PR ref: * Upstream vitessio/vitess#19088 * #258912
1 parent 547f810 commit fb7426a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Formula/v/vitess.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ class Vitess < Formula
1717
depends_on "go" => :build
1818
depends_on "etcd"
1919

20+
# Support Go 1.26 and later with Swiss maps always enabled
21+
# Upstream PR ref: https://github.com/vitessio/vitess/pull/19088
22+
patch do
23+
url "https://github.com/vitessio/vitess/commit/1e131ea41b87a047acff3b1977d9fece8e25bfff.patch?full_index=1"
24+
sha256 "6dd13ffbde947a2c0d426c5a6361e3f0f708c9fc1bd1df7b000ad06fa8644a9c"
25+
end
26+
2027
def install
2128
# -buildvcs=false needed for build to succeed on Go 1.18.
2229
# It can be removed when this is no longer the case.

0 commit comments

Comments
 (0)