Files
neovim/third-party/patches/luarocks-Change-default-downloader-to-curl.patch
b-r-o-c-k b3d0241416 build/msvc: Add patch for LuaRocks
LuaRocks bundles an outdated wget.exe for downloading packages on Windows. It is too old to support GitHub's TLS, so this patch will replace it with curl.
2018-03-01 22:50:02 -06:00

25 lines
682 B
Diff

From 69313032fad04743c96bc8f2a029b691857488f9 Mon Sep 17 00:00:00 2001
Date: Thu, 1 Mar 2018 21:41:29 -0600
Subject: [PATCH] Change default downloader to curl
---
install.bat | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/install.bat b/install.bat
index 09cf9aa..76e4059 100644
--- a/install.bat
+++ b/install.bat
@@ -1037,7 +1037,7 @@ f:write(S[=[
site_config.LUAROCKS_UNAME_M=[[$UNAME_M]]
site_config.LUAROCKS_ROCKS_TREE=[[$TREE_ROOT]]
site_config.LUAROCKS_PREFIX=[[$PREFIX]]
-site_config.LUAROCKS_DOWNLOADER=[[wget]]
+site_config.LUAROCKS_DOWNLOADER=[[curl]]
site_config.LUAROCKS_MD5CHECKER=[[md5sum]]
]=])
if FORCE_CONFIG then
--
2.16.1.windows.4