diff options
author | sevan <sevan@pkgsrc.org> | 2016-05-14 18:36:02 +0000 |
---|---|---|
committer | sevan <sevan@pkgsrc.org> | 2016-05-14 18:36:02 +0000 |
commit | 77fd34a11192a63ac6a1a449b15dd61651c4102a (patch) | |
tree | 3fc4b5f1c6b8318e81d8dfdf9ddb855a0e94acf4 /www | |
parent | dd328553f7afae5f60701b1b3afdb50e79b0ab42 (diff) | |
download | pkgsrc-77fd34a11192a63ac6a1a449b15dd61651c4102a.tar.gz |
Add support for building with LibreSSL/BoringSSL
Patch obtained from upstream via OpenBSD ports/net/curl/patches/patch-lib_vtls_openssl_c
Diffstat (limited to 'www')
-rw-r--r-- | www/curl/distinfo | 3 | ||||
-rw-r--r-- | www/curl/patches/patch-lib_vtls_openssl.c | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/www/curl/distinfo b/www/curl/distinfo index 6ca04913a07..42b3b897ecf 100644 --- a/www/curl/distinfo +++ b/www/curl/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.116 2016/04/07 11:03:15 adam Exp $ +$NetBSD: distinfo,v 1.117 2016/05/14 18:36:02 sevan Exp $ SHA1 (curl-7.48.0.tar.bz2) = 8b5ccc16bdae5241fe40c66e8b20fa91540cdf92 RMD160 (curl-7.48.0.tar.bz2) = 3dc03df4ba48eb71e257db1f5dda7f88c59df88e @@ -7,3 +7,4 @@ Size (curl-7.48.0.tar.bz2) = 7408757 bytes SHA1 (patch-aa) = 793701d5ecc3343170fb437906c9adb74763cd13 SHA1 (patch-curl-config.in) = d0cc7bb6a5bf0b9257f40dcffce7093cc0098eb7 SHA1 (patch-lib_hostcheck.c) = 8e772d3f91cdafae17281cc19004269ece0cf308 +SHA1 (patch-lib_vtls_openssl.c) = 45bb5de6fd10c1593f2583d49b27d3c00ae92780 diff --git a/www/curl/patches/patch-lib_vtls_openssl.c b/www/curl/patches/patch-lib_vtls_openssl.c new file mode 100644 index 00000000000..3e943869caa --- /dev/null +++ b/www/curl/patches/patch-lib_vtls_openssl.c @@ -0,0 +1,18 @@ +$NetBSD: patch-lib_vtls_openssl.c,v 1.1 2016/05/14 18:36:02 sevan Exp $ + +Add support for building with LibreSSL/BoringSSL +https://github.com/curl/curl/commit/240cd84b494e0ffee8ad261c43b927d246cf6be1 + +--- lib/vtls/openssl.c.orig Sat May 14 15:53:20 2016 ++++ lib/vtls/openssl.c +@@ -95,7 +95,9 @@ + + #if (OPENSSL_VERSION_NUMBER >= 0x10000000L) + #define HAVE_ERR_REMOVE_THREAD_STATE 1 +-#if (OPENSSL_VERSION_NUMBER >= 0x10100004L) ++#if (OPENSSL_VERSION_NUMBER >= 0x10100004L) && \ ++ !defined(LIBRESSL_VERSION_NUMBER) && \ ++ !defined(OPENSSL_IS_BORINGSSL) + /* OpenSSL 1.1.0-pre4 removed the argument! */ + #define HAVE_ERR_REMOVE_THREAD_STATE_NOARG 1 + #endif |