ports/lang/julia/files/patch-test_gmp.jl
Hiroo Ono 7c2e16a817 lang/julia: update to 1.10.5
Release notes at
	https://discourse.julialang.org/t/julia-v1-10-5-has-been-released/118720

Also:
- reorganize some lines to pet portlint
- regenerate the patches
- don’t depend on suitesparse-config but on UMFPACK (including CHOLMOD) and SPQR
- replace mbedtls2 by mbedtls3 and remove deprecation
- allow to upgrade gmp and mpfr from Makefile
- fix USE_LDCONFIG
- apply the patch from PR 286169
- add a pkg-message about certificate error.

PR:		281237 + 286169
Reported by:	Hiroo Ono <hiroo.ono+freebsd (at) gmail.com> and Trond Endrestøl <Trond.Endrestol (at) ximalas.info>
2025-05-18 18:42:44 +02:00

14 lines
605 B
Julia

--- test/gmp.jl.orig 2024-08-27 21:19:31 UTC
+++ test/gmp.jl
@@ -12,8 +12,8 @@ ee = typemax(Int64)
@test big(1) isa Signed
if sizeof(Culong) >= 8
- @test_throws OutOfMemoryError big(96608869069402268615522366320733234710)^16374500563449903721
- @test_throws OutOfMemoryError 555555555555555555555555555555555555555555555555555^55555555555555555
+ @test_throws DivideError big(96608869069402268615522366320733234710)^16374500563449903721
+ @test_throws DivideError 555555555555555555555555555555555555555555555555555^55555555555555555
end
let x = big(1)