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 \