Skip to content

Commit 7f7921f

Browse files
committed
git-interactive-rebase-tool: update patch to build with libgit2 1.9
Signed-off-by: Rui Chen <[email protected]>
1 parent eadbee5 commit 7f7921f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Formula/g/git-interactive-rebase-tool.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class GitInteractiveRebaseTool < Formula
44
url "https://github.com/MitMaro/git-interactive-rebase-tool/archive/refs/tags/2.4.1.tar.gz"
55
sha256 "0b1ba68a1ba1548f44209ce1228d17d6d5768d72ffa991909771df8e9d42d70d"
66
license "GPL-3.0-or-later"
7-
revision 3
7+
revision 4
88

99
livecheck do
1010
url :stable
@@ -22,14 +22,14 @@ class GitInteractiveRebaseTool < Formula
2222

2323
depends_on "pkgconf" => :build
2424
depends_on "rust" => :build
25-
depends_on "libgit2@1.8" # needs https://github.com/rust-lang/git2-rs/issues/1109 to support libgit2 1.9
25+
depends_on "libgit2"
2626

2727
uses_from_macos "zlib"
2828

29-
# support libgit2 1.8, upstream pr ref, https://github.com/MitMaro/git-interactive-rebase-tool/pull/948
29+
# support libgit2 1.9, upstream pr ref, https://github.com/MitMaro/git-interactive-rebase-tool/pull/948
3030
patch do
31-
url "https://github.com/MitMaro/git-interactive-rebase-tool/commit/508291ca003d5cd380a1c34f27efde913b488888.patch?full_index=1"
32-
sha256 "1256c6e9fa3a7c3ed196d30a2a35b9c05e06434ed954e8a4e58e1d2ceb1ae7d8"
31+
url "https://github.com/MitMaro/git-interactive-rebase-tool/commit/f3193b3faae665605d6bac4c1bafa798d3d241ae.patch?full_index=1"
32+
sha256 "32c6cc976407c0d2f41e434e35274f86d64b8b396ed18927c833af656551ebd3"
3333
end
3434

3535
def install
@@ -73,7 +73,7 @@ def check_binary_linkage(binary, library)
7373
assert_equal expected_git_rebase_todo, todo_file.read
7474

7575
[
76-
Formula["libgit2@1.8"].opt_lib/shared_library("libgit2"),
76+
Formula["libgit2"].opt_lib/shared_library("libgit2"),
7777
].each do |library|
7878
assert check_binary_linkage(bin/"interactive-rebase-tool", library),
7979
"No linkage with #{library.basename}! Cargo is likely using a vendored version."

0 commit comments

Comments
 (0)