summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2017-10-23 14:09:10 +0200
committerLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2017-10-23 14:09:10 +0200
commit599f038d32144263ace6e066a6f6b14dde9c8cfe (patch)
tree5187302fdab5cbad05fd3aabb8d8384d3b75afeb
parentcdc6cbda8486e63d521216aa8381017a3d9a22ca (diff)
downloadmidipix_build-599f038d32144263ace6e066a6f6b14dde9c8cfe.tar.bz2
midipix_build-599f038d32144263ace6e066a6f6b14dde9c8cfe.tar.xz
vars/build.vars: configure w/ --with-ssl (via Redfoxmoon.)
patches/lynx.local.patch: explicitly call SSL_set_options() in HTLoadHTTP() (via Redfoxmoon.)
-rw-r--r--patches/lynx.local.patch11
-rw-r--r--vars/build.vars2
2 files changed, 12 insertions, 1 deletions
diff --git a/patches/lynx.local.patch b/patches/lynx.local.patch
new file mode 100644
index 00000000..89b964d7
--- /dev/null
+++ b/patches/lynx.local.patch
@@ -0,0 +1,11 @@
+--- lynx-2-8-8/WWW/Library/Implementation/HTTP.c.orig 2017-02-09 21:20:27 UTC
++++ lynx-2-8-8/WWW/Library/Implementation/HTTP.c
+@@ -721,7 +722,7 @@ static int HTLoadHTTP(const char *arg,
+ #elif SSLEAY_VERSION_NUMBER >= 0x0900
+ #ifndef USE_NSS_COMPAT_INCL
+ if (!try_tls) {
+- handle->options |= SSL_OP_NO_TLSv1;
++ SSL_set_options(handle, SSL_OP_NO_TLSv1);
+ #if OPENSSL_VERSION_NUMBER >= 0x0090806fL && !defined(OPENSSL_NO_TLSEXT)
+ } else {
+ int ret = (int) SSL_set_tlsext_host_name(handle, ssl_host);
diff --git a/vars/build.vars b/vars/build.vars
index b2eadce1..d59cfd50 100644
--- a/vars/build.vars
+++ b/vars/build.vars
@@ -831,7 +831,7 @@ LEAF_PACKAGES_PREFIX="${PREFIX_NATIVE}";
: ${PKG_LYNX_VERSION:=2.8.8rel.2};
: ${PKG_LYNX_URL:=https://ftp.osuosl.org/pub/blfs/conglomeration/lynx/lynx${PKG_LYNX_VERSION}.tar.bz2};
: ${PKG_LYNX_CFLAGS_CONFIGURE_EXTRA:="-I${PREFIX_NATIVE}/include -I${PREFIX_NATIVE}/include/ncursesw"};
-: ${PKG_LYNX_CONFIGURE_ARGS_EXTRA:=--program-prefix=};
+: ${PKG_LYNX_CONFIGURE_ARGS_EXTRA:=--program-prefix= --with-ssl};
: ${PKG_LYNX_SUBDIR:=lynx2-8-8};
: ${PKG_MAKE_SHA256SUM:=d6e262bf3601b42d2b1e4ef8310029e1dcf20083c5446b4b7aa67081fdffc589};
: ${PKG_MAKE_VERSION:=4.2.1};