gst-plugins-bad1: fix libgstdtls.so with libressl

This commit is contained in:
John 2018-12-31 16:22:22 +01:00 committed by maxice8
parent 0bebd82adf
commit 6c282fcaa6
2 changed files with 12 additions and 1 deletions

View file

@ -0,0 +1,11 @@
--- ext/dtls/gstdtlsagent.c 2018-03-23 21:45:15.000000000 +0100
+++ - 2018-09-09 14:05:57.663350425 +0200
@@ -176,7 +176,7 @@
ERR_clear_error ();
-#if OPENSSL_VERSION_NUMBER >= 0x1000200fL
+#if OPENSSL_VERSION_NUMBER >= 0x1000200fL && !defined(LIBRESSL_VERSION_NUMBER)
priv->ssl_context = SSL_CTX_new (DTLS_method ());
#else
priv->ssl_context = SSL_CTX_new (DTLSv1_method ());

View file

@ -1,7 +1,7 @@
# Template file for 'gst-plugins-bad1'
pkgname=gst-plugins-bad1
version=1.14.4
revision=4
revision=5
wrksrc="${pkgname/1/}-${version}"
lib32disabled=yes
build_style=gnu-configure