diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2018-04-03 17:46:38 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2018-04-03 17:46:38 +0800 |
commit | e9cdc0756a5191f41c3c06172b5e87d2e4e1734b (patch) | |
tree | 08f972a1e872985dbcfcda083b9623ed278b71d4 /www | |
parent | 1e3b09e8a63cfc3ce84d732cdedaef15d6840250 (diff) | |
download | freebsd-ports-graphics-e9cdc0756a5191f41c3c06172b5e87d2e4e1734b.tar.gz freebsd-ports-graphics-e9cdc0756a5191f41c3c06172b5e87d2e4e1734b.tar.zst freebsd-ports-graphics-e9cdc0756a5191f41c3c06172b5e87d2e4e1734b.zip |
Fix build with LibreSSL 2.7
PR: 227177
Submitted by: brnrd
Diffstat (limited to 'www')
-rw-r--r-- | www/aria2/files/patch-src-libssl_compat.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/aria2/files/patch-src-libssl_compat.h b/www/aria2/files/patch-src-libssl_compat.h new file mode 100644 index 00000000000..ff7fa2fe5ec --- /dev/null +++ b/www/aria2/files/patch-src-libssl_compat.h @@ -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 |