summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2012-07-06 15:24:02 +0000
committerJustin Lecher <jlec@gentoo.org>2012-07-06 15:24:02 +0000
commitbf97a80239e3ecd2a82cb91c15e38e1058de90bb (patch)
tree0b881d2c856f8395a2a5e1227f991cabe504b0ff /net-misc/axel/files
parentnet-misc/axel: Move to EAPI=4, fix buildsystem, #424822, fix potential buffer... (diff)
downloadhistorical-bf97a80239e3ecd2a82cb91c15e38e1058de90bb.tar.gz
historical-bf97a80239e3ecd2a82cb91c15e38e1058de90bb.tar.bz2
historical-bf97a80239e3ecd2a82cb91c15e38e1058de90bb.zip
net-misc/axel: Increase max redirections to 25, as this services like github need this
Package-Manager: portage-2.2.0_alpha116/cvs/Linux x86_64
Diffstat (limited to 'net-misc/axel/files')
-rw-r--r--net-misc/axel/files/axel-2.4-max-redir.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/net-misc/axel/files/axel-2.4-max-redir.patch b/net-misc/axel/files/axel-2.4-max-redir.patch
new file mode 100644
index 000000000000..f52796c35e2d
--- /dev/null
+++ b/net-misc/axel/files/axel-2.4-max-redir.patch
@@ -0,0 +1,16 @@
+ axel.h | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/axel.h b/axel.h
+index e90d30d..f6ebfe8 100644
+--- a/axel.h
++++ b/axel.h
+@@ -66,7 +66,7 @@
+ /* Compiled-in settings */
+ #define MAX_STRING 1024
+ #define MAX_ADD_HEADERS 10
+-#define MAX_REDIR 5
++#define MAX_REDIR 25
+ #define AXEL_VERSION_STRING "2.4"
+ #define DEFAULT_USER_AGENT "Axel " AXEL_VERSION_STRING " (" ARCH ")"
+