From ffd8f3bea8c30f54fdf30a51930af2171ded6e85 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 30 Aug 2016 23:34:35 +0100 Subject: add gallium nine enabled wine --- .../wine/files/wine-1.8-gnutls-3.5-compat.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 app-emulation/wine/files/wine-1.8-gnutls-3.5-compat.patch (limited to 'app-emulation/wine/files/wine-1.8-gnutls-3.5-compat.patch') 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 00000000..291c4a51 --- /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 +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 +Signed-off-by: Alexandre Julliard +--- + 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 + -- cgit v1.2.3