mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
curl: update to 8.9.1
This commit is contained in:
parent
98c85069b8
commit
9c984a5df5
2 changed files with 34 additions and 2 deletions
32
srcpkgs/curl/patches/fix-sigpipe.patch
Normal file
32
srcpkgs/curl/patches/fix-sigpipe.patch
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
From 3eec5afbd0b6377eca893c392569b2faf094d970 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Daniel Stenberg <daniel@haxx.se>
|
||||||
|
Date: Mon, 5 Aug 2024 00:17:17 +0200
|
||||||
|
Subject: [PATCH] sigpipe: init the struct so that first apply ignores
|
||||||
|
|
||||||
|
Initializes 'no_signal' to TRUE, so that a call to sigpipe_apply() after
|
||||||
|
init ignores the signal (unless CURLOPT_NOSIGNAL) is set.
|
||||||
|
|
||||||
|
I have read the existing code multiple times now and I think it gets the
|
||||||
|
initial state reversed this missing to ignore.
|
||||||
|
|
||||||
|
Regression from 17e6f06ea37136c36d27
|
||||||
|
|
||||||
|
Reported-by: Rasmus Thomsen
|
||||||
|
Fixes #14344
|
||||||
|
Closes #14390
|
||||||
|
---
|
||||||
|
lib/sigpipe.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/lib/sigpipe.h b/lib/sigpipe.h
|
||||||
|
index b91a2f51333956..d78afd905d3414 100644
|
||||||
|
--- a/lib/sigpipe.h
|
||||||
|
+++ b/lib/sigpipe.h
|
||||||
|
@@ -39,6 +39,7 @@ struct sigpipe_ignore {
|
||||||
|
static void sigpipe_init(struct sigpipe_ignore *ig)
|
||||||
|
{
|
||||||
|
memset(ig, 0, sizeof(*ig));
|
||||||
|
+ ig->no_signal = TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'curl'
|
# Template file for 'curl'
|
||||||
pkgname=curl
|
pkgname=curl
|
||||||
version=8.9.0
|
version=8.9.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6
|
configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6
|
||||||
|
@ -30,7 +30,7 @@ license="MIT"
|
||||||
homepage="https://curl.se"
|
homepage="https://curl.se"
|
||||||
changelog="https://curl.se/changes.html"
|
changelog="https://curl.se/changes.html"
|
||||||
distfiles="https://curl.se/download/curl-${version}.tar.gz"
|
distfiles="https://curl.se/download/curl-${version}.tar.gz"
|
||||||
checksum=14d931fa98a329310dca7b190d047c3d4987674b1f466481f5490e4e12067ba4
|
checksum=291124a007ee5111997825940b3876b3048f7d31e73e9caa681b80fe48b2dcd5
|
||||||
build_options="gnutls gssapi idn ldap psl rtmp ssh ssl zstd"
|
build_options="gnutls gssapi idn ldap psl rtmp ssh ssl zstd"
|
||||||
build_options_default="idn psl ssh ssl zstd"
|
build_options_default="idn psl ssh ssl zstd"
|
||||||
vopt_conflict ssl gnutls
|
vopt_conflict ssl gnutls
|
||||||
|
|
Loading…
Add table
Reference in a new issue