Skip to content

Commit

Permalink
gstreamer1-gst-plugins-bad: Fix build with libressl-devel
Browse files Browse the repository at this point in the history
pqueue_size was dropped, like it was in newer OpenSSL

Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
  • Loading branch information
jeremyhu committed Feb 12, 2017
1 parent 320d735 commit 7324272
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions gnome/gstreamer1-gst-plugins-bad/Portfile
Expand Up @@ -76,6 +76,7 @@ autoreconf.args -fvi

patchfiles modplug.patch \
libressl.patch \
no_pqueue_size.patch \
openal.patch

#
Expand Down
14 changes: 14 additions & 0 deletions gnome/gstreamer1-gst-plugins-bad/files/no_pqueue_size.patch
@@ -0,0 +1,14 @@
--- ext/dtls/gstdtlsconnection.c.orig 2017-02-11 18:02:41.000000000 -0800
+++ ext/dtls/gstdtlsconnection.c 2017-02-11 18:02:30.000000000 -0800
@@ -608,10 +608,9 @@ log_state (GstDtlsConnection * self, con
states |= (! !SSL_want_read (priv->ssl) << 24);

#if (OPENSSL_VERSION_NUMBER < 0x10100001L) || defined(LIBRESSL_VERSION_NUMBER)
- GST_LOG_OBJECT (self, "%s: role=%s buf=(%d,%p:%d/%d) %x|%x %s",
+ GST_LOG_OBJECT (self, "%s: role=%s buf=(%p:%d/%d) %x|%x %s",
str,
priv->is_client ? "client" : "server",
- pqueue_size (priv->ssl->d1->sent_messages),
priv->bio_buffer,
priv->bio_buffer_offset,
priv->bio_buffer_len,

0 comments on commit 7324272

Please sign in to comment.