FreeBSD Bugzilla – Attachment 190005 Details for
Bug 225407
[PATCH] deskutils/spice-gtk: fix build with LibreSSL
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libressl fix
spice-gtk-libressl.patch (text/plain), 1.76 KB, created by
Pawel Pekala
on 2018-01-23 17:05:52 UTC
(
hide
)
Description:
libressl fix
Filename:
MIME Type:
Creator:
Pawel Pekala
Created:
2018-01-23 17:05:52 UTC
Size:
1.76 KB
patch
obsolete
>Index: files/patch-libressl >=================================================================== >--- files/patch-libressl (wersja 0) >+++ files/patch-libressl (kopia robocza) >@@ -0,0 +1,33 @@ >+--- src/bio-gio.c.orig 2017-01-13 14:00:07 UTC >++++ src/bio-gio.c >+@@ -23,7 +23,7 @@ >+ #include "spice-util.h" >+ #include "bio-gio.h" >+ >+-#if OPENSSL_VERSION_NUMBER < 0x10100000 >++#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) >+ static BIO_METHOD one_static_bio; >+ >+ static int BIO_meth_set_read(BIO_METHOD *biom, >+--- src/spice-channel.c.orig 2018-01-21 15:48:25 UTC >++++ src/spice-channel.c >+@@ -55,7 +55,7 @@ static void spice_channel_reset_capabilities(SpiceChan >+ static void spice_channel_send_migration_handshake(SpiceChannel *channel); >+ static gboolean channel_connect(SpiceChannel *channel, gboolean tls); >+ >+-#if OPENSSL_VERSION_NUMBER < 0x10100000 >++#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined(LIBRESSL_VERSION_NUMBER) >+ static RSA *EVP_PKEY_get0_RSA(EVP_PKEY *pkey) >+ { >+ if (pkey->type != EVP_PKEY_RSA) { >+--- spice-common/common/ssl_verify.c.orig 2018-01-21 15:52:12 UTC >++++ spice-common/common/ssl_verify.c >+@@ -33,7 +33,7 @@ >+ #include <string.h> >+ #include <gio/gio.h> >+ >+-#if OPENSSL_VERSION_NUMBER < 0x10100000 >++#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined (LIBRESSL_VERSION_NUMBER) >+ static const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1) >+ { >+ return M_ASN1_STRING_data(asn1); > >Zmiany atrybutów dla: files/patch-libressl >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 225407
: 190005