diff --git a/srcpkgs/libgit2/patches/libressl.patch b/srcpkgs/libgit2/patches/libressl.patch new file mode 100644 index 0000000000..7ba36f6839 --- /dev/null +++ b/srcpkgs/libgit2/patches/libressl.patch @@ -0,0 +1,11 @@ +--- 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) + { diff --git a/srcpkgs/libgit2/template b/srcpkgs/libgit2/template index 2b2354ef7a..a0c43a382c 100644 --- a/srcpkgs/libgit2/template +++ b/srcpkgs/libgit2/template @@ -1,6 +1,6 @@ # Template file for 'libgit2' pkgname=libgit2 -version=0.24.3 +version=0.24.5 revision=1 build_style=cmake hostmakedepends="python git pkg-config" @@ -10,7 +10,7 @@ maintainer="Juan RP " homepage="http://libgit2.github.com/" license="GPL-2 with Linking Exception" distfiles="https://github.com/libgit2/libgit2/archive/v${version}.tar.gz" -checksum=0a24e6a51dbf3beecb0ebcd2cafb1e09b1212e910be6477b5de03c84a5586754 +checksum=f6135ee64b174f449c8857272352c11ca182af05a340237834cedcc9eb390cba case "$XBPS_TARGET_MACHINE" in *-musl)