public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/julia] epel10: Apply patch to fix compatibility with the new libgit2
@ 2026-12-01 21:40 Igor Raits
0 siblings, 0 replies; only message in thread
From: Igor Raits @ 2026-12-01 21:40 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/julia
Branch : epel10
Commit : e35a0711c5c4183d3707a24a817f37113cfe9011
Author : Igor Raits <ignatenkobrain@fedoraproject.org>
Date : 2021-11-28T21:31:08+01:00
Stats : +17/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/julia/c/e35a0711c5c4183d3707a24a817f37113cfe9011?branch=epel10
Log:
Apply patch to fix compatibility with the new libgit2
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
---
diff --git a/julia-libgit-1.2.patch b/julia-libgit-1.2.patch
new file mode 100644
index 0000000..fd1be48
--- /dev/null
+++ b/julia-libgit-1.2.patch
@@ -0,0 +1,14 @@
+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
diff --git a/julia.spec b/julia.spec
index dd0fa39..2a27989 100644
--- a/julia.spec
+++ b/julia.spec
@@ -38,6 +38,8 @@ Source4: https://api.github.com/repos/JuliaLang/Pkg.jl/tarball/%{pkgcommi
Source5: https://api.github.com/repos/JuliaLang/Statistics.jl/tarball/%{statisticscommit}#/Statistics-%{statisticscommit}.tar.gz
Source6: https://raw.githubusercontent.com/JuliaLang/julia-logo-graphics/%{logocommit}/images/julia-logo-color.svg
Source7: https://api.github.com/repos/staticfloat/libblastrampoline/tarball/%{blastrampolinecommit}#/blastrampoline-%{blastrampolinecommit}.tar.gz
+# https://github.com/JuliaLang/julia/issues/43249
+Patch0: https://raw.githubusercontent.com/archlinux/svntogit-community/packages/julia/trunk/julia-libgit-1.2.patch
Provides: bundled(libuv) = %{uvversion}
Provides: bundled(llvm) = %{llvmversion}
Provides: bundled(libblastrampoline) = %{blastrampolineversion}
@@ -139,7 +141,7 @@ needed when programming in the Julia language, but rather for embedding
Julia into external programs or debugging Julia itself.
%prep
-%setup -qn julia-1.7.0-rc3
+%autosetup -p1 -n julia-1.7.0-rc3
mkdir -p deps/srccache stdlib/srccache
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-01 21:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 21:40 [rpms/julia] epel10: Apply patch to fix compatibility with the new libgit2 Igor Raits
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox