summaryrefslogtreecommitdiff
path: root/harmony/libgit2/libressl.patch
diff options
context:
space:
mode:
Diffstat (limited to 'harmony/libgit2/libressl.patch')
-rw-r--r--harmony/libgit2/libressl.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/harmony/libgit2/libressl.patch b/harmony/libgit2/libressl.patch
new file mode 100644
index 000000000..967cdc498
--- /dev/null
+++ b/harmony/libgit2/libressl.patch
@@ -0,0 +1,12 @@
+diff -ru src.orig/libgit2-0.25.1/src/openssl_stream.h src/libgit2-0.25.1/src/openssl_stream.h
+--- libgit2-0.25.1/src/copenssl_stream.h.orig
++++ libgit2-0.25.1/src/openssl_stream.h
+@@ -27,7 +27,7 @@
+
+
+
+-# 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)
+ {