void-packages/srcpkgs/cargo-c/patches/libgit2-lfs.patch

12 lines
557 B
Diff

--- a/vendor/libgit2-sys/build.rs
+++ b/vendor/libgit2-sys/build.rs
@@ -79,6 +79,8 @@ fn main() {
.define("MATCH_LIMIT", Some("10000000"))
.define("MATCH_LIMIT_RECURSION", Some("MATCH_LIMIT"))
.define("MAX_NAME_SIZE", Some("32"))
+ .define("_LARGE_FILE_SOURCE", Some("1"))
+ .define("_FILE_OFFSET_BITS", Some("64"))
.define("MAX_NAME_COUNT", Some("10000"));
// "no symbols" warning on pcre_string_utils.c is because it is only used
// when when COMPILE_PCRE8 is not defined, which is the default.