devel/libgit2: fix build with libressl
PR: 219362 Submitted by: tobik
This commit is contained in:
parent
b388e90063
commit
496d59403b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=441203
@ -2,6 +2,7 @@
|
||||
|
||||
PORTNAME= libgit2
|
||||
PORTVERSION= 0.25.1
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= devel
|
||||
|
||||
|
15
devel/libgit2/files/patch-src_openssl__stream.h
Normal file
15
devel/libgit2/files/patch-src_openssl__stream.h
Normal file
@ -0,0 +1,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)
|
||||
{
|
Loading…
Reference in New Issue
Block a user