summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2022-10-19 14:37:48 +0200
committerMichael Stahl <michael.stahl@allotropia.de>2022-10-19 14:37:48 +0200
commit4e863ca43c2d402bc25e923c1e960daad3837907 (patch)
tree24ddee1f8a894dc76c6e9f2f4e75f95305c44ec9 /external
parent275b318cd55720b1106965c31e8d60619ae50ec9 (diff)
Revert "statushack"
This reverts commit 275b318cd55720b1106965c31e8d60619ae50ec9.
Diffstat (limited to 'external')
-rw-r--r--external/curl/UnpackedTarball_curl.mk1
-rw-r--r--external/curl/statushack.patch.122
2 files changed, 0 insertions, 23 deletions
diff --git a/external/curl/UnpackedTarball_curl.mk b/external/curl/UnpackedTarball_curl.mk
index fae8a67d2bcd..76c8cc34de38 100644
--- a/external/curl/UnpackedTarball_curl.mk
+++ b/external/curl/UnpackedTarball_curl.mk
@@ -23,7 +23,6 @@ $(eval $(call gb_UnpackedTarball_add_patches,curl,\
external/curl/curl-msvc-disable-protocols.patch.1 \
external/curl/curl-7.26.0_win-proxy.patch \
external/curl/zlib.patch.0 \
- external/curl/statushack.patch.1 \
))
ifeq ($(SYSTEM_NSS),)
diff --git a/external/curl/statushack.patch.1 b/external/curl/statushack.patch.1
deleted file mode 100644
index 3d55b896310b..000000000000
--- a/external/curl/statushack.patch.1
+++ /dev/null
@@ -1,22 +0,0 @@
---- curl/lib/http.c.orig 2022-10-10 14:31:12.867898354 +0200
-+++ curl/lib/http.c 2022-10-10 14:31:24.528892930 +0200
-@@ -4213,7 +4213,7 @@
- &separator,
- &k->httpcode,
- &digit4);
--
-+ if(k->httpcode == 401) { k->httpcode = 403; }
- if(nc == 1 && httpversion_major >= 2 &&
- 2 == sscanf(HEADER1, " HTTP/%1[23] %d", twoorthree, &k->httpcode)) {
- conn->httpversion = 0;
---- curl/lib/http.c.orig 2022-10-10 14:54:55.991225710 +0200
-+++ curl/lib/http.c 2022-10-10 14:55:16.836215787 +0200
-@@ -3576,7 +3576,7 @@
- if(data->set.get_filetime)
- data->info.filetime = k->timeofdoc;
- }
-- else if((checkprefix("WWW-Authenticate:", headp) &&
-+ else if((0 && checkprefix("WWW-Authenticate:", headp) &&
- (401 == k->httpcode)) ||
- (checkprefix("Proxy-authenticate:", headp) &&
- (407 == k->httpcode))) {