Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 461622 Details for
Bug 607412
media-video/ffmpeg-3.2.2: add support for USE=libressl
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ffmpeg-3.2.2-libressl.patch
ffmpeg-3.2.2-libressl.patch (text/plain), 1.94 KB, created by
Marek BehĂșn
on 2017-01-27 17:46:53 UTC
(
hide
)
Description:
ffmpeg-3.2.2-libressl.patch
Filename:
MIME Type:
Creator:
Marek BehĂșn
Created:
2017-01-27 17:46:53 UTC
Size:
1.94 KB
patch
obsolete
>diff -Naur a/libavformat/tls_openssl.c b/libavformat/tls_openssl.c >--- a/libavformat/tls_openssl.c 2016-12-06 00:28:54.000000000 +0100 >+++ b/libavformat/tls_openssl.c 2017-01-27 17:39:03.000000000 +0100 >@@ -43,7 +43,7 @@ > TLSShared tls_shared; > SSL_CTX *ctx; > SSL *ssl; >-#if OPENSSL_VERSION_NUMBER >= 0x1010000fL >+#if OPENSSL_VERSION_NUMBER >= 0x1010000fL && !defined(LIBRESSL_VERSION_NUMBER) > BIO_METHOD* url_bio_method; > #endif > } TLSContext; >@@ -68,7 +68,7 @@ > > static int url_bio_create(BIO *b) > { >-#if OPENSSL_VERSION_NUMBER >= 0x1010000fL >+#if OPENSSL_VERSION_NUMBER >= 0x1010000fL && !defined(LIBRESSL_VERSION_NUMBER) > BIO_set_init(b, 1); > BIO_set_data(b, NULL); > BIO_set_flags(b, 0); >@@ -85,7 +85,7 @@ > return 1; > } > >-#if OPENSSL_VERSION_NUMBER >= 0x1010000fL >+#if OPENSSL_VERSION_NUMBER >= 0x1010000fL && !defined(LIBRESSL_VERSION_NUMBER) > #define GET_BIO_DATA(x) BIO_get_data(x); > #else > #define GET_BIO_DATA(x) (x)->ptr; >@@ -133,7 +133,7 @@ > return url_bio_bwrite(b, str, strlen(str)); > } > >-#if OPENSSL_VERSION_NUMBER < 0x1010000fL >+#if OPENSSL_VERSION_NUMBER < 0x1010000fL || defined(LIBRESSL_VERSION_NUMBER) > static BIO_METHOD url_bio_method = { > .type = BIO_TYPE_SOURCE_SINK, > .name = "urlprotocol bio", >@@ -212,7 +212,7 @@ > SSL_CTX_free(c->ctx); > if (c->tls_shared.tcp) > ffurl_close(c->tls_shared.tcp); >-#if OPENSSL_VERSION_NUMBER >= 0x1010000fL >+#if OPENSSL_VERSION_NUMBER >= 0x1010000fL && !defined(LIBRESSL_VERSION_NUMBER) > if (c->url_bio_method) > BIO_meth_free(c->url_bio_method); > #endif >@@ -265,7 +265,7 @@ > ret = AVERROR(EIO); > goto fail; > } >-#if OPENSSL_VERSION_NUMBER >= 0x1010000fL >+#if OPENSSL_VERSION_NUMBER >= 0x1010000fL && !defined(LIBRESSL_VERSION_NUMBER) > p->url_bio_method = BIO_meth_new(BIO_TYPE_SOURCE_SINK, "urlprotocol bio"); > BIO_meth_set_write(p->url_bio_method, url_bio_bwrite); > BIO_meth_set_read(p->url_bio_method, url_bio_bread);
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 607412
:
461620
| 461622