summaryrefslogtreecommitdiff
path: root/devel/libgit2/files/patch-src_openssl__stream.h
blob: c895994389abc41749ae53703f5072be98509645 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Fix build with LibreSSL

https://github.com/libgit2/libgit2/commit/42ad85e

--- src/openssl_stream.h.orig	2017-01-09 20:26:45 UTC
+++ src/openssl_stream.h
@@ -27,7 +27,7 @@ extern int git_openssl_stream_new(git_stream **out, co
 
 
 
-# if OPENSSL_VERSION_NUMBER < 0x10100000L
+# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
 
 GIT_INLINE(BIO_METHOD*) BIO_meth_new(int type, const char *name)
 {