View | Details | Raw Unified | Return to bug 216785 | Differences between
and this patch

Collapse All | Expand All

(-)www/lynx/Makefile (-1 / +3 lines)
Lines 15-20 Link Here
15
15
16
LICENSE=	GPLv2
16
LICENSE=	GPLv2
17
17
18
LIB_DEPENDS=	libidn.so:dns/libidn
19
18
CONFLICTS=	lynx-2.8.[8-9]d*
20
CONFLICTS=	lynx-2.8.[8-9]d*
19
21
20
USES=		cpe ncurses shebangfix tar:bzip2
22
USES=		cpe ncurses shebangfix tar:bzip2
Lines 59-65 Link Here
59
post-install-DOCS-on:
61
post-install-DOCS-on:
60
# Fix some stage symlinks
62
# Fix some stage symlinks
61
.for doc in COPYHEADER COPYING COPYHEADER.asc COPYING.asc
63
.for doc in COPYHEADER COPYING COPYHEADER.asc COPYING.asc
62
	(cd ${STAGEDIR}${L_HELP} && ln -sf ../doc/lynx/${doc} .)
64
	(cd ${STAGEDIR}${L_HELP} && ${LN} -sf ../doc/lynx/${doc} .)
63
.endfor
65
.endfor
64
66
65
.include <bsd.port.pre.mk>
67
.include <bsd.port.pre.mk>
(-)www/lynx/files/patch-WWW_Library_Implementation_HTTP.c (+11 lines)
Line 0 Link Here
1
--- WWW/Library/Implementation/HTTP.c.orig	2017-02-09 21:20:27 UTC
2
+++ WWW/Library/Implementation/HTTP.c
3
@@ -721,7 +722,7 @@ static int HTLoadHTTP(const char *arg,
4
 #elif SSLEAY_VERSION_NUMBER >= 0x0900
5
 #ifndef USE_NSS_COMPAT_INCL
6
 	if (!try_tls) {
7
-	    handle->options |= SSL_OP_NO_TLSv1;
8
+	    SSL_set_options(handle, SSL_OP_NO_TLSv1);
9
 #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT)
10
 	} else {
11
 	    int ret = (int) SSL_set_tlsext_host_name(handle, ssl_host);

Return to bug 216785