Update to libgit2-0.26.0.

This commit is contained in:
ajacoutot 2017-07-23 10:08:27 +00:00
parent 4e9efc57a5
commit 3bab400686
4 changed files with 13 additions and 24 deletions

View File

@ -1,21 +1,25 @@
# $OpenBSD: Makefile,v 1.29 2017/04/14 18:26:40 jasper Exp $
# $OpenBSD: Makefile,v 1.30 2017/07/23 10:08:27 ajacoutot Exp $
BROKEN-hppa = no atomic ops
COMMENT= the Git library, take 2
GH_ACCOUNT = libgit2
GH_PROJECT = libgit2
GH_TAGNAME = v0.25.1
SHARED_LIBS += git2 9.0 # 0.25
GH_TAGNAME = v0.26.0
SHARED_LIBS += git2 10.0 # 0.25
MODULES= devel/cmake \
lang/python \
gcc4
lang/python
MODPY_RUNDEP= No
# for atomic builtins
COMPILER= gcc
COMPILER_LANGS= c
MODGCC4_ARCHS= arm
# bundles https://github.com/nodejs/http-parser
LIB_DEPENDS= net/curl \
security/libssh2

View File

@ -1,2 +1,2 @@
SHA256 (libgit/libgit2-0.25.1.tar.gz) = eujmmf9/+aH6cCJJFA7jHqb9VWv3lo6E44FlhwZnvLE=
SIZE (libgit/libgit2-0.25.1.tar.gz) = 4252130
SHA256 (libgit/libgit2-0.26.0.tar.gz) = SscKK733owStKp+yxTrTyGlL4NvsTx/ODzzQzaFPs7k=
SIZE (libgit/libgit2-0.26.0.tar.gz) = 4697149

View File

@ -1,16 +0,0 @@
$OpenBSD: patch-src_openssl_stream_h,v 1.1 2017/04/14 18:27:21 jasper Exp $
Fix build with LibreSSL
https://github.com/libgit2/libgit2/pull/4043
--- src/openssl_stream.h.orig Mon Jan 9 21:26:45 2017
+++ src/openssl_stream.h Fri Apr 14 20:19:10 2017
@@ -27,7 +27,7 @@ extern int git_openssl_stream_new(git_stream **out, co
-# 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)
{

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.10 2017/04/14 18:26:40 jasper Exp $
@comment $OpenBSD: PLIST,v 1.11 2017/07/23 10:08:27 ajacoutot Exp $
include/git2/
include/git2.h
include/git2/annotated_commit.h
@ -80,5 +80,6 @@ include/git2/transport.h
include/git2/tree.h
include/git2/types.h
include/git2/version.h
include/git2/worktree.h
@lib lib/libgit2.so.${LIBgit2_VERSION}
lib/pkgconfig/libgit2.pc