summaryrefslogtreecommitdiff
path: root/dev-lang/julia/files/julia-1.6.5-libgit-1.4.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/julia/files/julia-1.6.5-libgit-1.4.patch')
-rw-r--r--dev-lang/julia/files/julia-1.6.5-libgit-1.4.patch43
1 files changed, 0 insertions, 43 deletions
diff --git a/dev-lang/julia/files/julia-1.6.5-libgit-1.4.patch b/dev-lang/julia/files/julia-1.6.5-libgit-1.4.patch
deleted file mode 100644
index fe753c0cd0e4..000000000000
--- a/dev-lang/julia/files/julia-1.6.5-libgit-1.4.patch
+++ /dev/null
@@ -1,43 +0,0 @@
-This patch comes from:
- https://github.com/archlinux/svntogit-community/blob/packages/julia/trunk/julia-libgit-1.4.patch
-
-diff --git a/stdlib/LibGit2/src/consts.jl b/stdlib/LibGit2/src/consts.jl
-index 2bc9edaf89..55887ebe2a 100644
---- a/stdlib/LibGit2/src/consts.jl
-+++ b/stdlib/LibGit2/src/consts.jl
-@@ -247,6 +247,11 @@ const RESET_HARD = Cint(3) # MIXED plus changes in working tree discarded
- REBASE_OPERATION_FIXUP = Cint(4),
- REBASE_OPERATION_EXEC = Cint(5))
-
-+# git_remote_redirect_t
-+const GIT_REMOTE_REDIRECT_NONE = Cint(0)
-+const GIT_REMOTE_REDIRECT_INITIAL = Cint(1)
-+const GIT_REMOTE_REDIRECT_ALL = Cint(2)
-+
- # fetch_prune
- const FETCH_PRUNE_UNSPECIFIED = Cint(0)
- const FETCH_PRUNE = Cint(1)
-diff --git a/stdlib/LibGit2/src/types.jl b/stdlib/LibGit2/src/types.jl
-index 9ffcaa3646..98d938df65 100644
---- a/stdlib/LibGit2/src/types.jl
-+++ b/stdlib/LibGit2/src/types.jl
-@@ -343,6 +343,9 @@ The fields represent:
- @static if LibGit2.VERSION >= v"0.25.0"
- proxy_opts::ProxyOptions = ProxyOptions()
- end
-+ @static if LibGit2.VERSION >= v"1.4.0"
-+ follow_redirects::Cint = Consts.GIT_REMOTE_REDIRECT_INITIAL
-+ end
- @static if LibGit2.VERSION >= v"0.24.0"
- custom_headers::StrArrayStruct = StrArrayStruct()
- end
-@@ -674,6 +677,9 @@ The fields represent:
- @static if LibGit2.VERSION >= v"0.25.0"
- proxy_opts::ProxyOptions = ProxyOptions()
- end
-+ @static if LibGit2.VERSION >= v"1.4.0"
-+ follow_redirects::Cint = Consts.GIT_REMOTE_REDIRECT_INITIAL
-+ end
- @static if LibGit2.VERSION >= v"0.24.0"
- custom_headers::StrArrayStruct = StrArrayStruct()
- end