From fb759f1f3caf982aaff4767b19d5cbd7d8f5841e Mon Sep 17 00:00:00 2001 From: marav Date: Sat, 9 Jul 2022 00:35:23 +0100 Subject: libraries/libcurl-gnutls: Patched to fix fatal error. select: do not return fatal error on EINTR from poll() Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- ...-do-not-return-fatal-error-on-EINTR-from-poll.patch.gz | Bin 0 -> 782 bytes libraries/libcurl-gnutls/README | 2 ++ libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild | 5 ++++- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 libraries/libcurl-gnutls/0001-select-do-not-return-fatal-error-on-EINTR-from-poll.patch.gz (limited to 'libraries') diff --git a/libraries/libcurl-gnutls/0001-select-do-not-return-fatal-error-on-EINTR-from-poll.patch.gz b/libraries/libcurl-gnutls/0001-select-do-not-return-fatal-error-on-EINTR-from-poll.patch.gz new file mode 100644 index 0000000000000..fc550af0e51eb Binary files /dev/null and b/libraries/libcurl-gnutls/0001-select-do-not-return-fatal-error-on-EINTR-from-poll.patch.gz differ diff --git a/libraries/libcurl-gnutls/README b/libraries/libcurl-gnutls/README index 423cc8a132201..d4a5ef43e23ae 100644 --- a/libraries/libcurl-gnutls/README +++ b/libraries/libcurl-gnutls/README @@ -1,3 +1,5 @@ libcurl-gnutls (An URL retrieval library linked against gnutls) An URL retrieval library (linked against gnutls) + + diff --git a/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild b/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild index f398f3809c4ef..7e8f8768193de 100644 --- a/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild +++ b/libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild @@ -30,7 +30,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=libcurl-gnutls PKGNAM=curl VERSION=${VERSION:-7.84.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -84,6 +84,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# patch from Archlinux +zcat $CWD/0001-select-do-not-return-fatal-error-on-EINTR-from-poll.patch.gz | patch -p1 --verbose || exit 1 + LDFLAGS="-L/usr/lib$LIBDIRSUFFIX" \ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -- cgit v1.2.3