From 30093336b5fe30f96d40b2f58b4fee2eaa5dc89a Mon Sep 17 00:00:00 2001 From: SpidFightFR Date: Wed, 26 Jun 2024 21:08:48 +0200 Subject: [PATCH] libgit2: update to 1.8.1 --- common/shlibs | 2 +- .../disable-test-validate_current_user_ownership.patch | 10 +++++----- srcpkgs/libgit2/template | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/common/shlibs b/common/shlibs index dd0e334414354c..c71eb7bf32d5ab 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1331,7 +1331,7 @@ libunwind-ppc64.so.8 libunwind-1.5.0_3 libunwind-setjmp.so.0 libunwind-1.5.0_3 libmicrohttpd.so.12 libmicrohttpd-0.9.73_1 libmicrodns.so.1 libmicrodns-0.2.0_1 -libgit2.so.1.7 libgit2-1.7.2_1 +libgit2.so.1.8 libgit2-1.8.1_1 libgit2-glib-1.0.so.0 libgit2-glib-1.2.0_1 libagg.so.2 agg-2.5_1 libzzip-0.so.13 zziplib-0.13.62_1 diff --git a/srcpkgs/libgit2/patches/disable-test-validate_current_user_ownership.patch b/srcpkgs/libgit2/patches/disable-test-validate_current_user_ownership.patch index 3f316543f36b22..3cbe2c9b773f4e 100644 --- a/srcpkgs/libgit2/patches/disable-test-validate_current_user_ownership.patch +++ b/srcpkgs/libgit2/patches/disable-test-validate_current_user_ownership.patch @@ -1,8 +1,8 @@ -diff --git a/tests/util/path.c b/tests/util/path.c -index 02ec42f..60f7d70 100644 ---- a/tests/util/path.c -+++ b/tests/util/path.c -@@ -761,7 +761,7 @@ void test_path__validate_current_user_ownership(void) +diff --git a/tests/util/path/core.c b/tests/util/path/core.c +index d1935a8..bcbabf9 100644 +--- a/tests/util/path/core.c ++++ b/tests/util/path/core.c +@@ -761,7 +761,7 @@ void test_path_core__validate_current_user_ownership(void) cl_git_fail(git_fs_path_owner_is_current_user(&is_cur, "c:\\path\\does\\not\\exist")); #else cl_git_pass(git_fs_path_owner_is_current_user(&is_cur, "/")); diff --git a/srcpkgs/libgit2/template b/srcpkgs/libgit2/template index 5c4e1a48a75c7c..2d9cce487ea277 100644 --- a/srcpkgs/libgit2/template +++ b/srcpkgs/libgit2/template @@ -1,6 +1,6 @@ # Template file for 'libgit2' pkgname=libgit2 -version=1.7.2 +version=1.8.1 revision=1 build_style=cmake configure_args="-DENABLE_REPRODUCIBLE_BUILDS=ON -DUSE_SSH=ON -DUSE_HTTP_PARSER=system" @@ -11,7 +11,7 @@ maintainer="Orphaned " license="custom:GPL-2.0-or-later WITH GCC-exception-2.0" homepage="https://libgit2.org" distfiles="https://github.com/libgit2/libgit2/archive/refs/tags/v${version}.tar.gz" -checksum=de384e29d7efc9330c6cdb126ebf88342b5025d920dcb7c645defad85195ea7f +checksum=8c1eaf0cf07cba0e9021920bfba9502140220786ed5d8a8ec6c7ad9174522f8e if [ "$XBPS_CHECK_PKGS" ]; then configure_args+=" -DBUILD_TESTS=ON"