Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2018 09:46:38 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466299 - head/www/aria2/files
Message-ID:  <201804030946.w339kc01079399@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Tue Apr  3 09:46:38 2018
New Revision: 466299
URL: https://svnweb.freebsd.org/changeset/ports/466299

Log:
  Fix build with LibreSSL 2.7
  
  PR:		227177
  Submitted by:	brnrd

Added:
  head/www/aria2/files/patch-src-libssl_compat.h   (contents, props changed)

Added: head/www/aria2/files/patch-src-libssl_compat.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/aria2/files/patch-src-libssl_compat.h	Tue Apr  3 09:46:38 2018	(r466299)
@@ -0,0 +1,11 @@
+--- src/libssl_compat.h.orig	2017-11-08 12:43:40 UTC
++++ src/libssl_compat.h
+@@ -37,7 +37,7 @@
+ 
+ #include <openssl/opensslv.h>
+ 
+-#if defined(LIBRESSL_VERSION_NUMBER)
++#if (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000fL)
+ #define LIBRESSL_IN_USE 1
+ #else // !defined(LIBRESSL_VERSION_NUMBER)
+ #define LIBRESSL_IN_USE 0



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