aria2: upstream patch to fix a crash when a proxy is used

See: https://github.com/tatsuhiro-t/aria2/commit/9a931e7

Closes Homebrew/homebrew#34314.

Signed-off-by: Nima Jahanshahi <nbjahan@gmail.com>
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
master
Nima Jahanshahi 2014-11-19 17:02:36 +03:30 committed by Jack Nagel
parent 2a87ffa121
commit b98bfc1acb
1 changed files with 13 additions and 2 deletions

View File

@ -2,8 +2,19 @@ require "formula"
class Aria2 < Formula
homepage "http://aria2.sourceforge.net/"
url "https://downloads.sourceforge.net/project/aria2/stable/aria2-1.18.8/aria2-1.18.8.tar.bz2"
sha1 "b6ad7064b1ea769e78f6a7dc9787a12cfc1e153f"
revision 1
stable do
url "https://downloads.sourceforge.net/project/aria2/stable/aria2-1.18.8/aria2-1.18.8.tar.bz2"
sha1 "b6ad7064b1ea769e78f6a7dc9787a12cfc1e153f"
# Upstream patch to fix crash on OSX when proxy is used
# See: https://github.com/tatsuhiro-t/aria2/commit/9a931e7
patch do
url "https://github.com/tatsuhiro-t/aria2/commit/9a931e7.diff"
sha1 "386c2a831e9ab91524a1af1eeb3037a819b85ec5"
end
end
bottle do
cellar :any