@@ -2,18 +2,23 @@ class Prr < Formula
22 desc "Mailing list style code reviews for github"
33 homepage "https://github.com/danobi/prr"
44 license "GPL-2.0-only"
5- revision 2
5+ revision 3
66 head "https://github.com/danobi/prr.git" , branch : "master"
77
88 stable do
99 url "https://github.com/danobi/prr/archive/refs/tags/v0.19.0.tar.gz"
1010 sha256 "76d101fefe42456d0c18a64e6f57b9d3a84baaecaf1e3a5e94b93657a6773c11"
1111
12- # support libgit2 1.8, upstream pr ref, https://github.com/MitMaro/git-interactive-rebase-tool /pull/948
12+ # support libgit2 1.8, upstream pr ref, https://github.com/danobi/prr /pull/67
1313 patch do
1414 url "https://github.com/danobi/prr/commit/c860f3d29c3607b10885e6526bea4cfd242815b5.patch?full_index=1"
1515 sha256 "208bbbdf4358f98c01b567146d0da2d1717caa53e4d2e5ea55ae29f5adaaaae2"
1616 end
17+ # support libgit2 1.9, upstream pr ref, https://github.com/danobi/prr/pull/69
18+ patch do
19+ url "https://github.com/danobi/prr/commit/84c0d0c324fb5a1334b72dc1fdf65c8e81c2cd01.patch?full_index=1"
20+ sha256 "e695229e73e83f5d06c9b9ac9714c053088f6862d6db699e1d3101413b2d06d4"
21+ end
1722
1823 # completion and manpage support, upstream pr ref, https://github.com/danobi/prr/pull/68
1924 patch do
@@ -33,7 +38,7 @@ class Prr < Formula
3338
3439 depends_on "pkgconf" => :build
3540 depends_on "rust" => :build
36- depends_on "libgit2@1.8" # needs https://github.com/rust-lang/git2-rs/issues/1109 to support libgit2 1.9
41+ depends_on "libgit2"
3742 depends_on "openssl@3"
3843
3944 uses_from_macos "zlib"
@@ -68,7 +73,7 @@ def check_binary_linkage(binary, library)
6873 assert_match "Failed to read config" , shell_output ( "#{ bin } /prr get Homebrew/homebrew-core/6 2>&1" , 1 )
6974
7075 [
71- Formula [ "libgit2@1.8 " ] . opt_lib /shared_library ( "libgit2" ) ,
76+ Formula [ "libgit2" ] . opt_lib /shared_library ( "libgit2" ) ,
7277 Formula [ "openssl@3" ] . opt_lib /shared_library ( "libssl" ) ,
7378 Formula [ "openssl@3" ] . opt_lib /shared_library ( "libcrypto" ) ,
7479 ] . each do |library |
0 commit comments