From 3ddd6c8cf0b1b17051527d750344e387c3e93601 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sat, 20 May 2023 18:23:41 -0400 Subject: [PATCH] libgit2: use LFS64 this might fix cargo failing git operations on i686 --- srcpkgs/libgit2/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libgit2/template b/srcpkgs/libgit2/template index 6fc1c6641b7..9d9da1496d6 100644 --- a/srcpkgs/libgit2/template +++ b/srcpkgs/libgit2/template @@ -1,7 +1,7 @@ # Template file for 'libgit2' pkgname=libgit2 version=1.5.1 -revision=1 +revision=2 build_style=cmake configure_args="-DENABLE_REPRODUCIBLE_BUILDS=ON -DUSE_SSH=ON" hostmakedepends="python3 pkg-config" @@ -19,6 +19,8 @@ else configure_args+=" -DBUILD_TESTS=OFF" fi +CFLAGS="-D_LARGE_FILE_SOURCE=1 -D_FILE_OFFSET_BITS=64" + post_patch() { # no online tests vsed \