ports/lang/julia/files/patch-stdlib_FileWatching_test_pidfile.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

13 lines
481 B
Julia

--- stdlib/FileWatching/test/pidfile.jl.orig 2023-12-03 21:24:39 UTC
+++ stdlib/FileWatching/test/pidfile.jl
@@ -41,7 +41,8 @@ try
@test isvalidpid("NOT" * gethostname(), 0 % Cuint)
@test isvalidpid("NOT" * gethostname(), -1 % Cuint)
if !iswindows()
- @test isvalidpid("", 1 % Cuint)
+ # we cannot see pid 1 in a jail
+ # @test isvalidpid("", 1 % Cuint)
@test !isvalidpid("", -1 % Cuint)
@test !isvalidpid("", -mypid)
end