nghttp2: update to 1.38.0.

This commit is contained in:
maxice8 2019-04-19 12:23:26 -03:00 committed by maxice8
parent 43814af8a2
commit dfd90f48ff
2 changed files with 2 additions and 30 deletions

View file

@ -1,28 +0,0 @@
From 2c1570595e365a18c85fd1b12c8f56516742b664 Mon Sep 17 00:00:00 2001
From: Jeff 'Raid' Baitis <jeff@baitis.net>
Date: Sun, 2 Dec 2018 13:30:42 -0800
Subject: [PATCH] Fix for compilation against modern LibreSSL
---
src/shrpx_tls.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/shrpx_tls.cc b/src/shrpx_tls.cc
index 9aa789d07..2a8f28744 100644
--- src/shrpx_tls.cc
+++ src/shrpx_tls.cc
@@ -364,11 +364,11 @@ int tls_session_new_cb(SSL *ssl, SSL_SESSION *session) {
namespace {
SSL_SESSION *tls_session_get_cb(SSL *ssl,
-#if OPENSSL_1_1_API
+#if OPENSSL_1_1_API || LIBRESSL_2_7_API
const unsigned char *id,
-#else // !OPENSSL_1_1_API
+#else // !(OPENSSL_1_1_API || LIBRESSL_2_7_API)
unsigned char *id,
-#endif // !OPENSSL_1_1_API
+#endif // !(OPENSSL_1_1_API || LIBRESSL_2_7_API)
int idlen, int *copy) {
auto conn = static_cast<Connection *>(SSL_get_app_data(ssl));
auto handler = static_cast<ClientHandler *>(conn->data);

View file

@ -1,6 +1,6 @@
# Template file for 'nghttp2'
pkgname=nghttp2
version=1.37.0
version=1.38.0
revision=1
build_style=gnu-configure
configure_args="--without-libxml2 --without-jemalloc --without-spdylay
@ -14,7 +14,7 @@ maintainer="Juan RP <xtraeme@voidlinux.org>"
license="MIT"
homepage="https://nghttp2.org"
distfiles="https://github.com/tatsuhiro-t/nghttp2/releases/download/v${version}/nghttp2-${version}.tar.xz"
checksum=aa090b164b17f4b91fe32310a1c0edf3e97e02cd9d1524eef42d60dd1e8d47b7
checksum=ef75c761858241c6b4372fa6397aa0481a984b84b7b07c4ec7dc2d7b9eee87f8
post_install() {
rm -rf ${DESTDIR}/usr/share/man