Gentoo Archives: gentoo-commits

From: Virgil Dupras <vdupras@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/spice/files/
Date: Mon, 06 Aug 2018 13:28:01
Message-Id: 1533562047.85456edb865e51a3c194dae3ff9568249113dd6c.vdupras@gentoo
1 commit: 85456edb865e51a3c194dae3ff9568249113dd6c
2 Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 6 13:27:27 2018 +0000
4 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 6 13:27:27 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85456edb
7
8 app-emulation/spice: fix build for libressl 2.7+
9
10 Closes: https://bugs.gentoo.org/655356
11 Package-Manager: Portage-2.3.44, Repoman-2.3.10
12
13 app-emulation/spice/files/spice-0.14.0-libressl_fix.patch | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16 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
17 index 2f77fa5a000..1dfce9480e9 100644
18 --- a/app-emulation/spice/files/spice-0.14.0-libressl_fix.patch
19 +++ b/app-emulation/spice/files/spice-0.14.0-libressl_fix.patch
20 @@ -7,7 +7,7 @@ index a9ed650..27aa5d3 100644
21 #include <gio/gio.h>
22
23 -#if OPENSSL_VERSION_NUMBER < 0x10100000
24 -+#if OPENSSL_VERSION_NUMBER < 0x10100000 || defined (LIBRESSL_VERSION_NUMBER)
25 ++#if OPENSSL_VERSION_NUMBER < 0x10100000 || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
26 static const unsigned char *ASN1_STRING_get0_data(const ASN1_STRING *asn1)
27 {
28 return M_ASN1_STRING_data(asn1);