svn commit: r466299 - head/www/aria2/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Apr 3 09:46:39 UTC 2018
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
More information about the svn-ports-all
mailing list