diff options
author | marav <marav8@free.fr> | 2022-07-09 00:35:23 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-09 10:06:09 +0700 |
commit | fb759f1f3caf982aaff4767b19d5cbd7d8f5841e (patch) | |
tree | ed23f63e5901d6825e50266ed1b45cf853bf17e3 /libraries/libcurl-gnutls | |
parent | 5d68e7ba673261d48c72434c0c62bce4830477c4 (diff) |
libraries/libcurl-gnutls: Patched to fix fatal error.
select: do not return fatal error on EINTR from poll()
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libcurl-gnutls')
-rw-r--r-- | libraries/libcurl-gnutls/0001-select-do-not-return-fatal-error-on-EINTR-from-poll.patch.gz | bin | 0 -> 782 bytes | |||
-rw-r--r-- | libraries/libcurl-gnutls/README | 2 | ||||
-rw-r--r-- | libraries/libcurl-gnutls/libcurl-gnutls.SlackBuild | 5 |
3 files changed, 6 insertions, 1 deletions
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 Binary files differnew file mode 100644 index 000000000000..fc550af0e51e --- /dev/null +++ b/libraries/libcurl-gnutls/0001-select-do-not-return-fatal-error-on-EINTR-from-poll.patch.gz diff --git a/libraries/libcurl-gnutls/README b/libraries/libcurl-gnutls/README index 423cc8a13220..d4a5ef43e23a 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 f398f3809c4e..7e8f8768193d 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" \ |