From 1d609fa2019fc7adf61007ce86a13f95ba9deb8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Tue, 24 Sep 2024 18:08:30 +0200 Subject: [PATCH 1/4] commit: cast due to commit creation type changes --- ext/rugged/rugged_commit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/rugged/rugged_commit.c b/ext/rugged/rugged_commit.c index dd89baea3..704d72e29 100644 --- a/ext/rugged/rugged_commit.c +++ b/ext/rugged/rugged_commit.c @@ -564,7 +564,7 @@ static VALUE rb_git_commit_create(VALUE self, VALUE rb_repo, VALUE rb_data) commit_data.message, commit_data.tree, commit_data.parent_count, - commit_data.parents); + (git_commit * const *) commit_data.parents); cleanup: free_commit_options(&commit_data); @@ -813,7 +813,7 @@ static VALUE rb_git_commit_create_to_s(VALUE self, VALUE rb_repo, VALUE rb_data) commit_data.message, commit_data.tree, commit_data.parent_count, - commit_data.parents); + (git_commit * const *) commit_data.parents); cleanup: free_commit_options(&commit_data); From 66f1b9bb2fdb4e2d262e180fab5360b06f11d5fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Tue, 24 Sep 2024 18:08:51 +0200 Subject: [PATCH 2/4] vendor: bump libgit2 to cb0bf6772655ba7a06a0b168676c6e97f0e37129 --- vendor/libgit2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/libgit2 b/vendor/libgit2 index 5f9e67a76..cb0bf6772 160000 --- a/vendor/libgit2 +++ b/vendor/libgit2 @@ -1 +1 @@ -Subproject commit 5f9e67a760129dd42cc61f68b45cecb4b39e2195 +Subproject commit cb0bf6772655ba7a06a0b168676c6e97f0e37129 From eb434023066b88c24bb3145660b2e2e684c12b71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Wed, 25 Sep 2024 09:45:23 +0200 Subject: [PATCH 3/4] vendor: bump libgit2 to 15668ba5203d99f22d2513e60796b42b6491d8ed --- vendor/libgit2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/libgit2 b/vendor/libgit2 index cb0bf6772..15668ba52 160000 --- a/vendor/libgit2 +++ b/vendor/libgit2 @@ -1 +1 @@ -Subproject commit cb0bf6772655ba7a06a0b168676c6e97f0e37129 +Subproject commit 15668ba5203d99f22d2513e60796b42b6491d8ed From 08f538f08ff7d3a62ed5b46bb4ba19c48081055e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Wed, 25 Sep 2024 09:54:39 +0200 Subject: [PATCH 4/4] ci: test on macOS 12 like libgit2 does There seems to be some issue with Homebrew's ninja install on the newer versions so let's stick to whatever libgit2 is testing with. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4eefd1eed..a98b6bbd1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: fail-fast: false matrix: ruby: [ '2.6', '2.7', '3.0', '3.1', '3.2' ] - os: [ macOS-latest ] + os: [ macOS-12 ] runs-on: ${{ matrix.os }} name: Ruby ${{ matrix.ruby }} on ${{ matrix.os }}