<pre style='margin:0'>
Jeremy Huddleston Sequoia (jeremyhu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2c7d48d1b4c092b7a35162620a5107020e42e8fd">https://github.com/macports/macports-ports/commit/2c7d48d1b4c092b7a35162620a5107020e42e8fd</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 2c7d48d gstreamer1-gst-plugins-bad: Fix build against libressl
</span>2c7d48d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2c7d48d1b4c092b7a35162620a5107020e42e8fd
</span>Author: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
AuthorDate: Thu Nov 3 00:05:41 2016 -0700
<span style='display:block; white-space:pre;color:#404040;'> gstreamer1-gst-plugins-bad: Fix build against libressl
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
</span>---
gnome/gstreamer1-gst-plugins-bad/Portfile | 1 +
.../files/libressl.patch | 31 ++++++++++++++++++++++
2 files changed, 32 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gstreamer1-gst-plugins-bad/Portfile b/gnome/gstreamer1-gst-plugins-bad/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index abe7b28..18774cf 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/gstreamer1-gst-plugins-bad/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gstreamer1-gst-plugins-bad/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,6 +67,7 @@ use_autoreconf yes
</span> autoreconf.args -fvi
patchfiles modplug.patch \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ libressl.patch \
</span> openal.patch
#
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/gstreamer1-gst-plugins-bad/files/libressl.patch b/gnome/gstreamer1-gst-plugins-bad/files/libressl.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..ee4e0ec
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/gstreamer1-gst-plugins-bad/files/libressl.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,31 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/ext/dtls/gstdtlsconnection.c b/ext/dtls/gstdtlsconnection.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 728f5a7..153d3d7 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ext/dtls/gstdtlsconnection.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ext/dtls/gstdtlsconnection.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -218,7 +218,7 @@ gst_dtls_connection_finalize (GObject * gobject)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ G_OBJECT_CLASS (gst_dtls_connection_parent_class)->finalize (gobject);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if OPENSSL_VERSION_NUMBER < 0x10100001L
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || defined(LIBRESSL_VERSION_NUMBER)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static void
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BIO_set_data (BIO * bio, void *ptr)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -607,7 +607,7 @@ log_state (GstDtlsConnection * self, const gchar * str)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ states |= (! !SSL_want_write (priv->ssl) << 20);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ states |= (! !SSL_want_read (priv->ssl) << 24);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if OPENSSL_VERSION_NUMBER < 0x10100001L
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || defined(LIBRESSL_VERSION_NUMBER)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GST_LOG_OBJECT (self, "%s: role=%s buf=(%d,%p:%d/%d) %x|%x %s",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ str,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ priv->is_client ? "client" : "server",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -822,7 +822,7 @@ openssl_verify_callback (int preverify_ok, X509_STORE_CTX * x509_ctx)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ######## #### #######
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if OPENSSL_VERSION_NUMBER < 0x10100001L
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || defined(LIBRESSL_VERSION_NUMBER)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ static BIO_METHOD custom_bio_methods = {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BIO_TYPE_BIO,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "stream",
</span></pre><pre style='margin:0'>
</pre>