This patch comes from https://raw.githubusercontent.com/archlinux/svntogit-community/packages/julia/trunk/julia-libgit-1.2.patch diff --git a/stdlib/LibGit2/src/types.jl b/stdlib/LibGit2/src/types.jl index 9ffcaa3646..5f571e7b26 100644 --- a/stdlib/LibGit2/src/types.jl +++ b/stdlib/LibGit2/src/types.jl @@ -230,6 +230,9 @@ Matches the [`git_remote_callbacks`](https://libgit2.org/libgit2/#HEAD/type/git_ push_update_reference::Ptr{Cvoid} = C_NULL push_negotiation::Ptr{Cvoid} = C_NULL transport::Ptr{Cvoid} = C_NULL + @static if LibGit2.VERSION >= v"1.2.0" + remote_ready::Ptr{Cvoid} = C_NULL + end payload::Any = nothing @static if LibGit2.VERSION >= v"0.99.0" resolve_url::Ptr{Cvoid} = C_NULL