aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2024-04-12 19:03:35 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2024-04-12 20:15:31 +0000
commit9ffc65e659a32a4eb293afd5c4d03be553a61570 (patch)
tree176e615394478520d5241250ddbc08887cba0c3a /Tools
parent882ecb2d7f689fa041a90196eff83985891af398 (diff)
downloadports-9ffc65e659a32a4eb293afd5c4d03be553a61570.tar.gz
ports-9ffc65e659a32a4eb293afd5c4d03be553a61570.zip
security/gnutls: initialise libpthread
To ensure thread-safety libgnutls calls libpthread functions but to avoid the overhead for single-threaded programs it does not link with libpthread. It only calls libpthread if the executable or another library links to it. Since 3.8.0 libgnutls calls pthread_key_create from its init function but because it does not link with libpthread libpthread might not have been initialised yet. Patch the libgnutls init function so it initialises libpthread. PR: 278076
Diffstat (limited to 'Tools')
0 files changed, 0 insertions, 0 deletions