<pre style='margin:0'>
Andrea D'Amore (anddam) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/abb077ee2297c6a6d1912513dfbb8db7f0b0769b">https://github.com/macports/macports-ports/commit/abb077ee2297c6a6d1912513dfbb8db7f0b0769b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit abb077ee2297c6a6d1912513dfbb8db7f0b0769b
</span>Author: Jeremy Huddleston Sequoia <jeremyhu@macports.org>
AuthorDate: Sun Dec 18 14:36:37 2016 -0800

<span style='display:block; white-space:pre;color:#404040;'>    libgit2: Fix build when using 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>---
 devel/libgit2/Portfile             |  3 ++-
 devel/libgit2/files/libressl.patch | 11 +++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgit2/Portfile b/devel/libgit2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 88b455b..bd0729f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libgit2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgit2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,7 +36,8 @@ depends_lib         port:curl \
</span>                     path:lib/libssl.dylib:openssl \
                     port:zlib
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles          patch-strnlen-posix.h.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles          patch-strnlen-posix.h.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    libressl.patch
</span> 
 configure.args-append \
                     -DTHREADSAFE:BOOL=OFF \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libgit2/files/libressl.patch b/devel/libgit2/files/libressl.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..5c2d7ae
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libgit2/files/libressl.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/openssl_stream.h.orig      2016-12-17 02:47:29.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/openssl_stream.h   2016-12-18 14:30:25.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27,7 +27,7 @@ extern int git_openssl_stream_new(git_st
</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 < 0x10100000L
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GIT_INLINE(BIO_METHOD*) BIO_meth_new(int type, const char *name)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span></pre><pre style='margin:0'>

</pre>