void-packages/srcpkgs/libgit2/patches/libressl.patch
2016-12-17 10:56:02 +00:00

11 lines
344 B
Diff

--- src/openssl_stream.h.orig 2016-12-16 00:19:49.000000000 +0000
+++ src/openssl_stream.h 2016-12-17 09:01:20.333682535 +0000
@@ -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)
{