aboutsummaryrefslogtreecommitdiff
path: root/third-party/patches/luarocks-Change-default-downloader-to-curl.patch
diff options
context:
space:
mode:
authorb-r-o-c-k <brockmammen@gmail.com>2018-03-01 22:44:31 -0600
committerb-r-o-c-k <brockmammen@gmail.com>2018-03-01 22:50:02 -0600
commitb3d0241416407450056a18b2c603bdd48b7ceb9f (patch)
tree357de8d8520f955252a4c9197e2f01971a6ac2b5 /third-party/patches/luarocks-Change-default-downloader-to-curl.patch
parent305673e92312f81178e10e7426bcf0fb793e96ea (diff)
downloadrneovim-b3d0241416407450056a18b2c603bdd48b7ceb9f.tar.gz
rneovim-b3d0241416407450056a18b2c603bdd48b7ceb9f.tar.bz2
rneovim-b3d0241416407450056a18b2c603bdd48b7ceb9f.zip
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.
Diffstat (limited to 'third-party/patches/luarocks-Change-default-downloader-to-curl.patch')
-rw-r--r--third-party/patches/luarocks-Change-default-downloader-to-curl.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/third-party/patches/luarocks-Change-default-downloader-to-curl.patch b/third-party/patches/luarocks-Change-default-downloader-to-curl.patch
new file mode 100644
index 0000000000..b7109a3b53
--- /dev/null
+++ b/third-party/patches/luarocks-Change-default-downloader-to-curl.patch
@@ -0,0 +1,24 @@
+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
+