summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNP-Hardass <NP-Hardass@gentoo.org>2016-07-05 16:11:18 -0400
committerNP-Hardass <NP-Hardass@gentoo.org>2016-07-10 01:29:09 -0400
commitb64196973d3c0b1094647c7b331ddc12af364539 (patch)
tree607f5e5d2f7eb2f7e78ad74556a1424ec55ac68e /app-emulation/wine/files/wine-1.8-gnutls-3.5-compat.patch
parentnet-fs/samba: prefix fixes (diff)
downloadgentoo-b64196973d3c0b1094647c7b331ddc12af364539.tar.gz
gentoo-b64196973d3c0b1094647c7b331ddc12af364539.tar.bz2
gentoo-b64196973d3c0b1094647c7b331ddc12af364539.zip
app-emulation/wine: Mega update, fixes and closes 6 bugs and 1 PR
Rearrange deps (Thanks to Andreas Sturmlechner) Closes: #1625 Handle when staging has different mono/gecko Gentoo-Bug: 586114 Switch from capi4k to libcapi Gentoo-Bug: 583828 Fix compilation with gnutls-3.5 Gentoo-Bug: 587028 X requires typetype; remove wineconsole w/o X or ncurses Gentoo-Bug: 551124 Split build checks so compilations happen once Fix gcc version checks for clang support Gentoo-Bug: 449378 Clean up compiler checks and use ebegin and eend Make USE=oss warning verbose for linux users Gentoo-Bug: 577154 Require dosbox that contains compatibility patches
Diffstat (limited to 'app-emulation/wine/files/wine-1.8-gnutls-3.5-compat.patch')
-rw-r--r--app-emulation/wine/files/wine-1.8-gnutls-3.5-compat.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/app-emulation/wine/files/wine-1.8-gnutls-3.5-compat.patch b/app-emulation/wine/files/wine-1.8-gnutls-3.5-compat.patch
new file mode 100644
index 000000000000..291c4a5131ce
--- /dev/null
+++ b/app-emulation/wine/files/wine-1.8-gnutls-3.5-compat.patch
@@ -0,0 +1,39 @@
+From bf5ac531a030bce9e798ab66bc53e84a65ca8fdb Mon Sep 17 00:00:00 2001
+From: Michael Cronenworth <mike@cchtml.com>
+Date: Thu, 16 Jun 2016 00:21:13 -0500
+Subject: [PATCH] secur32: Provide a static declaration for
+ gnutls_cipher_get_block_size.
+
+Instead of providing an extern provide a static declaration. The
+function return type changed from signed to unsigned in GnuTLS 3.5.
+
+Signed-off-by: Michael Cronenworth <mike@cchtml.com>
+Signed-off-by: Alexandre Julliard <julliard@winehq.org>
+---
+ dlls/secur32/schannel_gnutls.c | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/dlls/secur32/schannel_gnutls.c b/dlls/secur32/schannel_gnutls.c
+index b10b629..bcadd47 100644
+--- a/dlls/secur32/schannel_gnutls.c
++++ b/dlls/secur32/schannel_gnutls.c
+@@ -42,7 +42,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(secur32);
+ WINE_DECLARE_DEBUG_CHANNEL(winediag);
+
+ /* Not present in gnutls version < 2.9.10. */
+-extern int gnutls_cipher_get_block_size(gnutls_cipher_algorithm_t algorithm);
++static int (*pgnutls_cipher_get_block_size)(gnutls_cipher_algorithm_t algorithm);
+
+ static void *libgnutls_handle;
+ #define MAKE_FUNCPTR(f) static typeof(f) * p##f
+@@ -52,7 +52,6 @@ MAKE_FUNCPTR(gnutls_certificate_allocate_credentials);
+ MAKE_FUNCPTR(gnutls_certificate_free_credentials);
+ MAKE_FUNCPTR(gnutls_certificate_get_peers);
+ MAKE_FUNCPTR(gnutls_cipher_get);
+-MAKE_FUNCPTR(gnutls_cipher_get_block_size);
+ MAKE_FUNCPTR(gnutls_cipher_get_key_size);
+ MAKE_FUNCPTR(gnutls_credentials_set);
+ MAKE_FUNCPTR(gnutls_deinit);
+--
+2.1.4
+