Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 May 2017 22:34:56 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r441203 - in head/devel/libgit2: . files
Message-ID:  <201705182234.v4IMYuEt067029@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Thu May 18 22:34:56 2017
New Revision: 441203
URL: https://svnweb.freebsd.org/changeset/ports/441203

Log:
  devel/libgit2: fix build with libressl
  
  PR:		219362
  Submitted by:	tobik

Added:
  head/devel/libgit2/files/
  head/devel/libgit2/files/patch-src_openssl__stream.h   (contents, props changed)
Modified:
  head/devel/libgit2/Makefile

Modified: head/devel/libgit2/Makefile
==============================================================================
--- head/devel/libgit2/Makefile	Thu May 18 22:11:54 2017	(r441202)
+++ head/devel/libgit2/Makefile	Thu May 18 22:34:56 2017	(r441203)
@@ -2,6 +2,7 @@
 
 PORTNAME=	libgit2
 PORTVERSION=	0.25.1
+PORTREVISION=	1
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 

Added: head/devel/libgit2/files/patch-src_openssl__stream.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/libgit2/files/patch-src_openssl__stream.h	Thu May 18 22:34:56 2017	(r441203)
@@ -0,0 +1,15 @@
+Fix build with LibreSSL
+
+https://github.com/libgit2/libgit2/commit/42ad85e
+
+--- src/openssl_stream.h.orig	2017-01-09 20:26:45 UTC
++++ src/openssl_stream.h
+@@ -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)
+ {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705182234.v4IMYuEt067029>