public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Milan Bouchet-Valat <nalimilan@club.fr>
To: git-commits@fedoraproject.org
Subject: [rpms/julia] epel10: Fix build failure
Date: Tue, 01 Dec 2026 21:39:41 GMT	[thread overview]
Message-ID: <179616118102.1.6668381448771803688.rpms-julia-c34e3aa70174@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/julia
Branch : epel10
Commit : c34e3aa7017446f00fbb7c1547c9af7282915f9c
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date   : 2021-01-04T22:03:56+01:00
Stats  : +50/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/julia/c/c34e3aa7017446f00fbb7c1547c9af7282915f9c?branch=epel10

Log:
Fix build failure

---
diff --git a/julia-llvm-limits.patch b/julia-llvm-limits.patch
new file mode 100644
index 0000000..3837be4
--- /dev/null
+++ b/julia-llvm-limits.patch
@@ -0,0 +1,44 @@
+From 8b257519284e9a3adcaeb3079ef545c651cfc520 Mon Sep 17 00:00:00 2001
+From: Milan Bouchet-Valat <nalimilan@club.fr>
+Date: Mon, 4 Jan 2021 19:33:06 +0100
+Subject: [PATCH] Fix compilation error
+
+---
+ deps/llvm.mk                   |  1 +
+ deps/patches/llvm-limits.patch | 12 ++++++++++++
+ 2 files changed, 13 insertions(+)
+ create mode 100644 deps/patches/llvm-limits.patch
+
+diff --git a/deps/llvm.mk b/deps/llvm.mk
+index 18dc41e40f..1d73e55865 100644
+--- a/deps/llvm.mk
++++ b/deps/llvm.mk
+@@ -411,6 +411,7 @@ $(eval $(call LLVM_PATCH,llvm-9.0-D65174-limit-merge-stores)) # remove for 10.0
+ $(eval $(call LLVM_PATCH,llvm9-D71443-PPC-MC-redef-symbol)) # remove for 10.0
+ $(eval $(call LLVM_PATCH,llvm-9.0-D78196)) # remove for 11.0
+ $(eval $(call LLVM_PATCH,llvm-9.0-D85499))
++$(eval $(call LLVM_PATCH,llvm-limits))
+ endif # LLVM_VER 9.0
+ 
+ ifeq ($(LLVM_VER_SHORT),10.0)
+diff --git a/deps/patches/llvm-limits.patch b/deps/patches/llvm-limits.patch
+new file mode 100644
+index 0000000000..965c269414
+--- /dev/null
++++ b/deps/patches/llvm-limits.patch
+@@ -0,0 +1,12 @@
++diff --git a/utils/benchmark/src/benchmark_register.h b/utils/benchmark/src/benchmark_register.h
++index 0705e21..6001fb8 100644
++--- a/utils/benchmark/src/benchmark_register.h
+++++ b/utils/benchmark/src/benchmark_register.h
++@@ -2,6 +2,7 @@
++ #define BENCHMARK_REGISTER_H
++ 
++ #include <vector>
+++#include <limits>
++ 
++ #include "check.h"
++ 
+-- 
+2.26.2
+

diff --git a/julia.spec b/julia.spec
index 69ad5a5..4ea8f05 100644
--- a/julia.spec
+++ b/julia.spec
@@ -19,7 +19,7 @@
 
 Name:           julia
 Version:        1.5.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        High-level, high-performance dynamic language for technical computing
 # Julia itself is MIT, with a few LGPLv2+ and GPLv2+ files
 # libuv is MIT
@@ -37,6 +37,7 @@ Patch0:         julia_unwind_version.patch
 Patch1:         llvm-julia-installdirs-64.patch
 # Avoid errors due to disabled networking
 Patch2:         julia-socket-tests.patch
+Patch3:         julia-llvm-limits.patch
 Provides:       bundled(libuv) = %{uvversion}
 Provides:       bundled(llvm) = %{llvmversion}
 BuildRequires:  desktop-file-utils
@@ -124,6 +125,7 @@ Julia into external programs or debugging Julia itself.
 
 %patch0 -p1
 %patch2 -p1
+%patch3 -p1
 
 %if 0%{?__isa_bits} == 64
     patch -p1 < %PATCH1
@@ -352,6 +354,9 @@ desktop-file-validate %{buildroot}%{_datarootdir}/applications/%{name}.desktop
 exit 0
 
 %changelog
+* Mon Jan 4 2020 Milan Bouchet-Valat <nalimilan@club.fr> - 1.5.3-3
+- Fix build failure.
+
 * Mon Dec 28 19:00:15 CET 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.5.3-2
 - Rebuild for libgit2 1.1.x
 

                 reply	other threads:[~2026-12-01 21:39 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=179616118102.1.6668381448771803688.rpms-julia-c34e3aa70174@fedoraproject.org \
    --to=nalimilan@club.fr \
    --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