svn commit: r441203 - in head/devel/libgit2: . files
William Grzybowski
wg at FreeBSD.org
Thu May 18 22:34:57 UTC 2017
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)
+ {
More information about the svn-ports-all
mailing list