<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5d80a52c3b53fbf07f3f6f634cdee0d47ba035c3">https://github.com/macports/macports-ports/commit/5d80a52c3b53fbf07f3f6f634cdee0d47ba035c3</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 5d80a52 vlc: fix build against libssh2
</span>5d80a52 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5d80a52c3b53fbf07f3f6f634cdee0d47ba035c3
</span>Author: ken-cunningham-webuse <ken.cunningham.webuse@gmail.com>
AuthorDate: Sun Mar 31 23:39:22 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> vlc: fix build against libssh2
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> an expected #define in v 1.8.1 of libssh2 was not
</span><span style='display:block; white-space:pre;color:#404040;'> actually present. change test to block use
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/58283
</span>---
multimedia/VLC/Portfile | 3 ++-
multimedia/VLC/files/patch-vlc-fix-libssh2.diff | 11 +++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/VLC/Portfile b/multimedia/VLC/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4f13fca..7b10e52 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/VLC/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/VLC/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -173,7 +173,8 @@ compiler.blacklist-append \
</span> gcc-4.2 llvm-gcc-4.2 macports-clang-3.8 {clang < 300}
patchfiles-append configure.ac-no-arch.patch \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-soundfont-path.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-soundfont-path.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-vlc-fix-libssh2.diff
</span>
if {![info exists replaced_by]} {
post-patch {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/VLC/files/patch-vlc-fix-libssh2.diff b/multimedia/VLC/files/patch-vlc-fix-libssh2.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..fb3b8a3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/VLC/files/patch-vlc-fix-libssh2.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ./modules/access/sftp.c.orig 2019-03-31 23:09:07.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ./modules/access/sftp.c 2019-03-31 23:09:26.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -306,7 +306,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case LIBSSH2_HOSTKEY_TYPE_DSS:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ knownhost_fingerprint_algo = LIBSSH2_KNOWNHOST_KEY_SSHDSS;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if LIBSSH2_VERSION_NUM >= 0x010801
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if LIBSSH2_VERSION_NUM >= 0x010900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case LIBSSH2_HOSTKEY_TYPE_ECDSA_256:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ knownhost_fingerprint_algo = LIBSSH2_KNOWNHOST_KEY_ECDSA_256;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span></pre><pre style='margin:0'>
</pre>