diff options
-rw-r--r-- | net-misc/axel/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/axel/axel-2.4-r2.ebuild | 5 | ||||
-rw-r--r-- | net-misc/axel/files/axel-2.4-max-redir.patch | 16 |
3 files changed, 24 insertions, 3 deletions
diff --git a/net-misc/axel/ChangeLog b/net-misc/axel/ChangeLog index cfe36dea4b1d..617305374220 100644 --- a/net-misc/axel/ChangeLog +++ b/net-misc/axel/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/axel # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/axel/ChangeLog,v 1.62 2012/07/06 15:13:56 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/axel/ChangeLog,v 1.63 2012/07/06 15:24:02 jlec Exp $ + + 06 Jul 2012; Justin Lecher <jlec@gentoo.org> axel-2.4-r2.ebuild, + +files/axel-2.4-max-redir.patch: + Increase max redirections to 25, as this services like github need this *axel-2.4-r2 (06 Jul 2012) diff --git a/net-misc/axel/axel-2.4-r2.ebuild b/net-misc/axel/axel-2.4-r2.ebuild index 88cc46196ee2..c1b4979dbe5e 100644 --- a/net-misc/axel/axel-2.4-r2.ebuild +++ b/net-misc/axel/axel-2.4-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/axel/axel-2.4-r2.ebuild,v 1.1 2012/07/06 15:13:56 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/axel/axel-2.4-r2.ebuild,v 1.2 2012/07/06 15:24:02 jlec Exp $ EAPI=4 @@ -26,7 +26,8 @@ src_prepare() { append-lfs-flags epatch \ "${FILESDIR}"/${P}-buildsystem.patch \ - "${FILESDIR}"/${P}-bffr-overflow.patch + "${FILESDIR}"/${P}-bffr-overflow.patch \ + "${FILESDIR}"/${P}-max-redir.patch tc-export CC } 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 ")" + |