public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Raits <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/julia] epel10: Apply patch to fix compatibility with the new libgit2
Date: Tue, 01 Dec 2026 21:40:04 GMT	[thread overview]
Message-ID: <179616120479.1.9675037070973999969.rpms-julia-e35a0711c5c4@fedoraproject.org> (raw)

            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
 

                 reply	other threads:[~2026-12-01 21:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179616120479.1.9675037070973999969.rpms-julia-e35a0711c5c4@fedoraproject.org \
    --to=ignatenkobrain@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox