automatic version update by autodist [release 7.84.0-1mamba;Mon Jun 27 2022]

This commit is contained in:
Automatic Build System 2024-01-05 21:36:37 +01:00
parent d857cb9db3
commit d219f45bf2
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From e2e7f54b7bea521fa8373095d0f43261a720cda0 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Mon, 27 Jun 2022 08:46:21 +0200
Subject: [PATCH] easy_lock.h: include sched.h if available to fix build
Patched-by: Harry Sintonen
Closes #9054
---
lib/easy_lock.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/easy_lock.h b/lib/easy_lock.h
index 819f50ce815b8..1f54289ceb2d3 100644
--- a/lib/easy_lock.h
+++ b/lib/easy_lock.h
@@ -36,6 +36,9 @@
#elif defined (HAVE_ATOMIC)
#include <stdatomic.h>
+#if defined(HAVE_SCHED_YIELD)
+#include <sched.h>
+#endif
#define curl_simple_lock atomic_bool
#define CURL_SIMPLE_LOCK_INIT false

View File

@ -1,7 +1,7 @@
%define libname libcurl %define libname libcurl
Name: curl Name: curl
Version: 7.83.1 Version: 7.84.0
Release: 1mamba Release: 1mamba
Summary: A tool for transfering data with URL syntax that supports many protocols Summary: A tool for transfering data with URL syntax that supports many protocols
Group: Applications/Networking Group: Applications/Networking
@ -13,6 +13,7 @@ Source: http://curl.haxx.se/download/curl-%{version}.tar.bz2
Patch0: %{name}-7.21.2-gnutls.patch Patch0: %{name}-7.21.2-gnutls.patch
Patch1: curl-7.34.0-dns-resolver-prefer-ipv4.patch Patch1: curl-7.34.0-dns-resolver-prefer-ipv4.patch
Patch2: curl-7.40.0-libgss-1.0.3.patch Patch2: curl-7.40.0-libgss-1.0.3.patch
Patch3: curl-7.84.0-upstream-fix-build-include_sched_h.patch
License: MIT License: MIT
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -100,6 +101,7 @@ This package contains static libraries and header files need for development.
#:<< _EOF #:<< _EOF
#%patch1 -p1 #%patch1 -p1
#%patch2 -p1 #%patch2 -p1
%patch3 -p1 -b .upstream-fix-build-include_sched_h
mkdir gnutls mkdir gnutls
cd gnutls cd gnutls
@ -235,6 +237,9 @@ cd gnutls/lib/
%doc CHANGES README RELEASE-NOTES %doc CHANGES README RELEASE-NOTES
%changelog %changelog
* Mon Jun 27 2022 Automatic Build System <autodist@mambasoft.it> 7.84.0-1mamba
- automatic version update by autodist
* Thu May 12 2022 Automatic Build System <autodist@mambasoft.it> 7.83.1-1mamba * Thu May 12 2022 Automatic Build System <autodist@mambasoft.it> 7.83.1-1mamba
- automatic version update by autodist - automatic version update by autodist