git: d48efc6e120c - main - lang/julia: Fix julia internal package manager
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 27 Nov 2022 05:48:31 UTC
The branch main has been updated by wen:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d48efc6e120c9608785daff5b2a02a7bd006dc95
commit d48efc6e120c9608785daff5b2a02a7bd006dc95
Author: Wen Heping <wen@FreeBSD.org>
AuthorDate: 2022-11-27 05:44:01 +0000
Commit: Wen Heping <wen@FreeBSD.org>
CommitDate: 2022-11-27 05:44:01 +0000
lang/julia: Fix julia internal package manager
PR: 267889
Reported by: maintainer
---
lang/julia/Makefile | 1 +
lang/julia/files/patch-stdlib_LinearAlgebra_src_lbt.jl | 11 +++++++++++
2 files changed, 12 insertions(+)
diff --git a/lang/julia/Makefile b/lang/julia/Makefile
index e5f9c3ef62ed..3429e5ba5a28 100644
--- a/lang/julia/Makefile
+++ b/lang/julia/Makefile
@@ -1,6 +1,7 @@
PORTNAME= julia
DISTVERSION= 1.8.3
DISTVERSIONSUFFIX= -full
+PORTREVISION= 1
CATEGORIES= lang math
MASTER_SITES= https://github.com/JuliaLang/${PORTNAME}/releases/download/v${DISTVERSION}/
diff --git a/lang/julia/files/patch-stdlib_LinearAlgebra_src_lbt.jl b/lang/julia/files/patch-stdlib_LinearAlgebra_src_lbt.jl
new file mode 100644
index 000000000000..ef9f481a9987
--- /dev/null
+++ b/lang/julia/files/patch-stdlib_LinearAlgebra_src_lbt.jl
@@ -0,0 +1,11 @@
+--- stdlib/LinearAlgebra/src/lbt.jl.orig 2022-11-23 20:37:29 UTC
++++ stdlib/LinearAlgebra/src/lbt.jl
+@@ -181,7 +181,7 @@ function lbt_get_num_threads()
+ end
+
+ function lbt_set_num_threads(nthreads)
+- return ccall((:lbt_set_num_threads, libblastrampoline), Cvoid, (Int32,), nthreads)
++ return
+ end
+
+ function lbt_forward(path; clear::Bool = false, verbose::Bool = false, suffix_hint::Union{String,Nothing} = nothing)