From owner-svn-ports-all@freebsd.org Wed Nov 23 16:51:16 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C47CAC51BC0; Wed, 23 Nov 2016 16:51:16 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 965C51CFF; Wed, 23 Nov 2016 16:51:16 +0000 (UTC) (envelope-from adamw@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uANGpFpa035440; Wed, 23 Nov 2016 16:51:15 GMT (envelope-from adamw@FreeBSD.org) Received: (from adamw@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uANGpFVE035439; Wed, 23 Nov 2016 16:51:15 GMT (envelope-from adamw@FreeBSD.org) Message-Id: <201611231651.uANGpFVE035439@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adamw set sender to adamw@FreeBSD.org using -f From: Adam Weinberger Date: Wed, 23 Nov 2016 16:51:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426944 - head/www/lynx-current/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2016 16:51:16 -0000 Author: adamw Date: Wed Nov 23 16:51:15 2016 New Revision: 426944 URL: https://svnweb.freebsd.org/changeset/ports/426944 Log: Fix build with LibreSSL. Approved by: just-fix-it Added: head/www/lynx-current/files/patch-WWW_Library_Implementation_HTTP.c (contents, props changed) Added: head/www/lynx-current/files/patch-WWW_Library_Implementation_HTTP.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/lynx-current/files/patch-WWW_Library_Implementation_HTTP.c Wed Nov 23 16:51:15 2016 (r426944) @@ -0,0 +1,11 @@ +--- WWW/Library/Implementation/HTTP.c.orig 2016-11-23 16:45:25 UTC ++++ WWW/Library/Implementation/HTTP.c +@@ -926,7 +926,7 @@ static int HTLoadHTTP(const char *arg, + #elif SSLEAY_VERSION_NUMBER >= 0x0900 + #ifndef USE_NSS_COMPAT_INCL + if (!try_tls) { +-#if OPENSSL_VERSION_NUMBER >= 0x10100000L ++#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) + SSL_set_min_proto_version(handle, TLS1_1_VERSION); + #else + SSL_set_options(handle, SSL_OP_NO_TLSv1);