Skip to content

Commit

Permalink
protobuf-c: switch to protobuf@21
Browse files Browse the repository at this point in the history
  • Loading branch information
carlocab committed Jun 5, 2023
1 parent 8968302 commit 37b747c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Formula/protobuf-c.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class ProtobufC < Formula
url "https://github.com/protobuf-c/protobuf-c/releases/download/v1.4.1/protobuf-c-1.4.1.tar.gz"
sha256 "4cc4facd508172f3e0a4d3a8736225d472418aee35b4ad053384b137b220339f"
license "BSD-2-Clause"
revision 1
revision 2

bottle do
sha256 cellar: :any, arm64_ventura: "51daa29261e512d3a61089e74942c0d085f6bbccfbf8c4e8828856344b797fb2"
Expand All @@ -18,7 +18,7 @@ class ProtobufC < Formula
end

depends_on "pkg-config" => :build
depends_on "protobuf"
depends_on "protobuf@21" # https://github.com/protobuf-c/protobuf-c/issues/544

def install
ENV.cxx11
Expand All @@ -42,6 +42,6 @@ def install
}
EOS
(testpath/"test.proto").write testdata
system Formula["protobuf"].opt_bin/"protoc", "test.proto", "--c_out=."
system Formula["protobuf@21"].opt_bin/"protoc", "test.proto", "--c_out=."
end
end

0 comments on commit 37b747c

Please sign in to comment.