diff options
author | Matthias Maier <tamiko@gentoo.org> | 2018-02-11 19:41:19 -0600 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2018-02-11 19:48:29 -0600 |
commit | 8ca3368317e4ce0fc7f559b041cc3adef96911d2 (patch) | |
tree | 1186a00176e3e6ea05d09c8390a9e01d57874a3b /app-emulation/spice/files | |
parent | app-emulation/qemu: 2.11.0-r50: pin new firmware versions (diff) | |
download | gentoo-8ca3368317e4ce0fc7f559b041cc3adef96911d2.tar.gz gentoo-8ca3368317e4ce0fc7f559b041cc3adef96911d2.tar.bz2 gentoo-8ca3368317e4ce0fc7f559b041cc3adef96911d2.zip |
app-emulation/spice: version bump to 0.14.0
- Update dependency on spice-protocol
- Remove celt dependencu and only use opus...
- Remove --disable-gui (spice does not have a GUI any more)
- fix libressl support (Thanks to Michelangelo Scopelliti)
- fix openssl1.1 support (Thanks to Mark Wright)
- cannot reproduce static assert bug #634484 with gcc 7.3.0
Bug: https://bugs.gentoo.org/634484
Closes: https://bugs.gentoo.org/630142
Closes: https://bugs.gentoo.org/630594
Closes: https://bugs.gentoo.org/630942
Closes: https://bugs.gentoo.org/634696
Closes: https://bugs.gentoo.org/635864
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'app-emulation/spice/files')
-rw-r--r-- | app-emulation/spice/files/spice-0.14.0-libressl_fix.patch | 13 | ||||
-rw-r--r-- | app-emulation/spice/files/spice-0.14.0-openssl1.1_fix.patch | 26 |
2 files changed, 39 insertions, 0 deletions
diff --git a/app-emulation/spice/files/spice-0.14.0-libressl_fix.patch b/app-emulation/spice/files/spice-0.14.0-libressl_fix.patch new file mode 100644 index 000000000000..2f77fa5a0006 --- /dev/null +++ b/app-emulation/spice/files/spice-0.14.0-libressl_fix.patch @@ -0,0 +1,13 @@ +diff --git a/spice-common/common/ssl_verify.c b/spice-common/common/ssl_verify.c +index a9ed650..27aa5d3 100644 +--- a/spice-common/common/ssl_verify.c ++++ b/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); diff --git a/app-emulation/spice/files/spice-0.14.0-openssl1.1_fix.patch b/app-emulation/spice/files/spice-0.14.0-openssl1.1_fix.patch new file mode 100644 index 000000000000..ea4e606b3db2 --- /dev/null +++ b/app-emulation/spice/files/spice-0.14.0-openssl1.1_fix.patch @@ -0,0 +1,26 @@ +--- spice-0.13.90-orig/server/reds.c 2017-07-27 01:04:10.000000000 +1000 ++++ spice-0.13.90/server/reds.c 2017-10-18 21:42:12.054934199 +1100 +@@ -34,6 +34,8 @@ + #include <ctype.h> + + #include <openssl/err.h> ++#include <openssl/bn.h> ++#include <openssl/rsa.h> + + #if HAVE_SASL + #include <sasl/sasl.h> +@@ -2795,9 +2797,12 @@ + + static gpointer openssl_global_init(gpointer arg) + { ++#if OPENSSL_VERSION_NUMBER >= 0x10000000L ++ OPENSSL_init_ssl(0, NULL); ++#else + SSL_library_init(); + SSL_load_error_strings(); +- ++#endif + openssl_thread_setup(); + + return NULL; + |