mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-30 17:33:03 +02:00
libgit2: fix libressl-2.7
Import OpenBSD patches.
This commit is contained in:
parent
e6ba8709df
commit
4a1022c5ae
2 changed files with 16 additions and 1 deletions
15
srcpkgs/libgit2/patches/patch-src_openssl_stream_h.patch
Normal file
15
srcpkgs/libgit2/patches/patch-src_openssl_stream_h.patch
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
$OpenBSD: patch-src_openssl_stream_h,v 1.8 2018/03/19 18:28:12 jasper Exp $
|
||||||
|
|
||||||
|
Index: src/openssl_stream.h
|
||||||
|
--- src/openssl_stream.h.orig
|
||||||
|
+++ src/openssl_stream.h
|
||||||
|
@@ -27,7 +27,8 @@ extern int git_openssl_stream_new(git_stream **out, co
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-# if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||||
|
+# if OPENSSL_VERSION_NUMBER < 0x10100000L || \
|
||||||
|
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
|
||||||
|
|
||||||
|
GIT_INLINE(BIO_METHOD*) BIO_meth_new(int type, const char *name)
|
||||||
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libgit2'
|
# Template file for 'libgit2'
|
||||||
pkgname=libgit2
|
pkgname=libgit2
|
||||||
version=0.26.3
|
version=0.26.3
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="python git pkg-config"
|
hostmakedepends="python git pkg-config"
|
||||||
makedepends="zlib-devel libressl-devel http-parser-devel libssh2-devel"
|
makedepends="zlib-devel libressl-devel http-parser-devel libssh2-devel"
|
||||||
|
|
Loading…
Add table
Reference in a new issue