From 131d81dd249d70e24d97b8d2ed99f7dc904d4630 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sat, 17 Dec 2016 10:54:30 +0000 Subject: [PATCH] libgit2: update to 0.24.5. --- srcpkgs/libgit2/patches/libressl.patch | 11 +++++++++++ srcpkgs/libgit2/template | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/libgit2/patches/libressl.patch 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)