aboutsummaryrefslogtreecommitdiff
path: root/devel/libgit2
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2018-03-27 12:17:06 +0000
committerBernard Spil <brnrd@FreeBSD.org>2018-03-27 12:17:06 +0000
commit69eced1838201b8691600255968de5799501b62e (patch)
treeb94ab18e119a1597d192610e46513adb626dd888 /devel/libgit2
parentff8b3d417779a7fbe4559be31656870398724200 (diff)
Notes
Diffstat (limited to 'devel/libgit2')
-rw-r--r--devel/libgit2/files/patch-src_openssl__stream.c11
-rw-r--r--devel/libgit2/files/patch-src_openssl__stream.h11
2 files changed, 22 insertions, 0 deletions
diff --git a/devel/libgit2/files/patch-src_openssl__stream.c b/devel/libgit2/files/patch-src_openssl__stream.c
new file mode 100644
index 000000000000..57bc4a9f52e5
--- /dev/null
+++ b/devel/libgit2/files/patch-src_openssl__stream.c
@@ -0,0 +1,11 @@
+--- src/openssl_stream.c.orig 2017-06-14 11:31:20 UTC
++++ src/openssl_stream.c
+@@ -103,7 +103,7 @@ int git_openssl_stream_global_init(void)
+ ssl_opts |= SSL_OP_NO_COMPRESSION;
+ #endif
+
+-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
+ SSL_load_error_strings();
+ OpenSSL_add_ssl_algorithms();
+ #else
diff --git a/devel/libgit2/files/patch-src_openssl__stream.h b/devel/libgit2/files/patch-src_openssl__stream.h
new file mode 100644
index 000000000000..2de08fa42281
--- /dev/null
+++ b/devel/libgit2/files/patch-src_openssl__stream.h
@@ -0,0 +1,11 @@
+--- src/openssl_stream.h.orig 2017-06-14 11:31:20 UTC
++++ src/openssl_stream.h
+@@ -27,7 +27,7 @@ extern int git_openssl_stream_new(git_st
+
+
+
+-# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
++# if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L)
+
+ GIT_INLINE(BIO_METHOD*) BIO_meth_new(int type, const char *name)
+ {