summaryrefslogtreecommitdiff
path: root/core/libfetch/fetch-handle-temp-redirect.patch
diff options
context:
space:
mode:
Diffstat (limited to 'core/libfetch/fetch-handle-temp-redirect.patch')
-rw-r--r--core/libfetch/fetch-handle-temp-redirect.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/core/libfetch/fetch-handle-temp-redirect.patch b/core/libfetch/fetch-handle-temp-redirect.patch
new file mode 100644
index 000000000..351cbcfd8
--- /dev/null
+++ b/core/libfetch/fetch-handle-temp-redirect.patch
@@ -0,0 +1,15 @@
+Index: http.c
+===================================================================
+RCS file: /cvsroot/pkgsrc/net/libfetch/files/http.c,v
+retrieving revision 1.29
+diff -u -r1.29 http.c
+--- http.c 24 Jan 2010 19:10:35 -0000 1.29
++++ http.c 19 Apr 2011 13:29:04 -0000
+@@ -974,6 +974,7 @@
+ case HTTP_MOVED_PERM:
+ case HTTP_MOVED_TEMP:
+ case HTTP_SEE_OTHER:
++ case HTTP_TEMP_REDIRECT:
+ /*
+ * Not so fine, but we still have to read the
+ * headers to get the new location.