summaryrefslogtreecommitdiff
path: root/dev-lua/luasocket/files
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-01-24 19:12:20 +0100
committerConrad Kostecki <conikost@gentoo.org>2021-01-27 20:40:26 +0100
commit8e426ef2f798dccad5ae3140be21f3eb4cd6f56c (patch)
tree941628f54bc4198623cf4a389eb79a12ec257369 /dev-lua/luasocket/files
parent2f908f745a152f9d303ae03bd1624a5ede3c518f (diff)
downloadgentoo-8e426ef2f798dccad5ae3140be21f3eb4cd6f56c.tar.gz
gentoo-8e426ef2f798dccad5ae3140be21f3eb4cd6f56c.tar.bz2
gentoo-8e426ef2f798dccad5ae3140be21f3eb4cd6f56c.zip
dev-lua/luasocket: drop old version
Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-lua/luasocket/files')
-rw-r--r--dev-lua/luasocket/files/proxy-fix.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/dev-lua/luasocket/files/proxy-fix.patch b/dev-lua/luasocket/files/proxy-fix.patch
deleted file mode 100644
index 302e63663ff7..000000000000
--- a/dev-lua/luasocket/files/proxy-fix.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 1f9ccb2b586c3a7e29db3c99a23ac1cee6907cf2 Mon Sep 17 00:00:00 2001
-From: Pierre Chapuis <catwell@archlinux.us>
-Date: Fri, 5 Jul 2013 18:00:29 +0200
-Subject: [PATCH] http: look for PROXY in _M, not as a global
-
----
- src/http.lua | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/http.lua b/src/http.lua
-index 5f70a374..f83dcc55 100644
---- a/src/http.lua
-+++ b/src/http.lua
-@@ -186,7 +186,7 @@ end
- local function adjusturi(reqt)
- local u = reqt
- -- if there is a proxy, we need the full url. otherwise, just a part.
-- if not reqt.proxy and not PROXY then
-+ if not reqt.proxy and not _M.PROXY then
- u = {
- path = socket.try(reqt.path, "invalid path 'nil'"),
- params = reqt.params,
-@@ -198,7 +198,7 @@ local function adjusturi(reqt)
- end
-
- local function adjustproxy(reqt)
-- local proxy = reqt.proxy or PROXY
-+ local proxy = reqt.proxy or _M.PROXY
- if proxy then
- proxy = url.parse(proxy)
- return proxy.host, proxy.port or 3128