curl: update to 8.10.0

This commit is contained in:
tranzystorekk 2024-09-11 10:20:53 +02:00
parent 2f7bd905b6
commit 781bdcaef4
2 changed files with 3 additions and 38 deletions

View File

@ -1,32 +0,0 @@
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;
}
/*

View File

@ -1,6 +1,6 @@
# Template file for 'curl' # Template file for 'curl'
pkgname=curl pkgname=curl
version=8.9.1 version=8.10.0
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
@ -15,7 +15,7 @@ configure_args="ac_cv_sizeof_off_t=8 --enable-threaded-resolver --enable-ipv6
make_check_args="TFLAGS=!1477" make_check_args="TFLAGS=!1477"
# Use mdocml instead of groff to generate builtin manual to avoid cyclic # Use mdocml instead of groff to generate builtin manual to avoid cyclic
# dependencies. # dependencies.
hostmakedepends="perl pkg-config mdocml libtool automake" hostmakedepends="perl pkg-config mdocml"
makedepends="nghttp2-devel zlib-devel $(vopt_if gnutls 'gnutls-devel') makedepends="nghttp2-devel zlib-devel $(vopt_if gnutls 'gnutls-devel')
$(vopt_if gssapi 'mit-krb5-devel') $(vopt_if ldap 'libldap-devel') $(vopt_if gssapi 'mit-krb5-devel') $(vopt_if ldap 'libldap-devel')
$(vopt_if rtmp 'librtmp-devel') $(vopt_if ssh 'libssh2-devel') $(vopt_if rtmp 'librtmp-devel') $(vopt_if ssh 'libssh2-devel')
@ -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=291124a007ee5111997825940b3876b3048f7d31e73e9caa681b80fe48b2dcd5 checksum=58c9dcf73493ae9d181fd334b3b3987ff73124621565187ade237bff1064a716
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
@ -43,9 +43,6 @@ pre_configure() {
export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}" export CFLAGS="${CFLAGS/-D_FORTIFY_SOURCE=2/}"
export CFLAGS="${CFLAGS/-I${XBPS_CROSS_BASE}\/usr\/include/}" export CFLAGS="${CFLAGS/-I${XBPS_CROSS_BASE}\/usr\/include/}"
export CPPFLAGS="-D_FORTIFY_SOURCE=2" export CPPFLAGS="-D_FORTIFY_SOURCE=2"
# reconfigure for patched changes
autoreconf -fi
} }
pre_check() { pre_check() {