Index: head/devel/libgit2/Makefile =================================================================== --- head/devel/libgit2/Makefile (revision 441202) +++ head/devel/libgit2/Makefile (revision 441203) @@ -1,44 +1,45 @@ # $FreeBSD$ PORTNAME= libgit2 PORTVERSION= 0.25.1 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= devel MAINTAINER= wg@FreeBSD.org COMMENT= Portable, pure C implementation of the Git core LICENSE= GPLv2 USE_GITHUB= yes GH_ACCOUNT= libgit2 USES= cmake pathfix pkgconfig python:build ssl USE_LDCONFIG= yes PLIST_SUB= PORTVERSION=${PORTVERSION} SHLIB_VER=${PORTVERSION:R:E} OPTIONS_DEFINE= SSH THREADS CURL OPTIONS_DEFAULT=SSH THREADS CURL SSH_DESC= Enable SSH support through libssh2 CURL_DESC= Enable HTTP support through cURL SSH_LIB_DEPENDS= libssh2.so:security/libssh2 SSH_CMAKE_ON= -DUSE_SSH=ON SSH_CMAKE_OFF= -DUSE_SSH=OFF THREADS_CMAKE_ON= -DTHREADSAFE=ON THREADS_CMAKE_OFF= -DTHREADSAFE=OFF CURL_LIB_DEPENDS= libcurl.so:ftp/curl CURL_CMAKE_ON= -DCURL=ON CURL_CMAKE_OFF= -DCURL=OFF .include post-patch: @${REINPLACE_CMD} -e "/LIBGIT2_PC_REQUIRES.*zlib/ d" ${WRKSRC}/CMakeLists.txt .if ${SSL_DEFAULT} == base @${REINPLACE_CMD} -e "/LIBGIT2_PC_REQUIRES.*openssl/ d" \ ${WRKSRC}/CMakeLists.txt .endif .include Index: head/devel/libgit2/files/patch-src_openssl__stream.h =================================================================== --- head/devel/libgit2/files/patch-src_openssl__stream.h (nonexistent) +++ head/devel/libgit2/files/patch-src_openssl__stream.h (revision 441203) @@ -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) + { Property changes on: head/devel/libgit2/files/patch-src_openssl__stream.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property