Fix mingw build failure
Related: RHEL-35857 Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
This commit is contained in:
parent
c5694f3e42
commit
fc9a2819eb
12
gnutls-3.8.3-fix-mingw-build.patch
Normal file
12
gnutls-3.8.3-fix-mingw-build.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --color -ruNp a/lib/system/sockets.c b/lib/system/sockets.c
|
||||
--- a/lib/system/sockets.c 2024-01-16 03:36:04.000000000 +0100
|
||||
+++ b/lib/system/sockets.c 2024-02-22 16:20:48.900495575 +0100
|
||||
@@ -208,7 +208,7 @@ int gnutls_system_recv_timeout(gnutls_tr
|
||||
} while (ret == -1 && errno == EINTR);
|
||||
#else
|
||||
fd_set rfds;
|
||||
- struct timeval _tv, *tv = NULL;
|
||||
+ TIMEVAL _tv, *tv = NULL;
|
||||
|
||||
FD_ZERO(&rfds);
|
||||
FD_SET(fd, &rfds);
|
@ -19,6 +19,7 @@ Patch: gnutls-3.2.7-rpath.patch
|
||||
# follow https://gitlab.com/gnutls/gnutls/-/issues/1443
|
||||
Patch: gnutls-3.7.8-ktls_skip_tls12_chachapoly_test.patch
|
||||
Patch: gnutls-3.8.3-kernel_version_check.patch
|
||||
Patch: gnutls-3.8.3-fix-mingw-build.patch
|
||||
|
||||
%bcond_without bootstrap
|
||||
%bcond_without dane
|
||||
|
Loading…
Reference in New Issue
Block a user