aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-10-01 12:08:29 -0500
committerJack Nagel2014-10-01 12:42:38 -0500
commite07dab7043eed9b5537eac04cb0f84fed7e572c6 (patch)
tree0e0f302f70fd06dc9c6718414ae45d73cffb05c8 /Library/Formula
parenta708da0ecbbba77d73a8be661393c74a302150af (diff)
downloadhomebrew-e07dab7043eed9b5537eac04cb0f84fed7e572c6.tar.bz2
erlang: add upstream patch to fix SSL issue
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/erlang.rb15
1 files changed, 12 insertions, 3 deletions
diff --git a/Library/Formula/erlang.rb b/Library/Formula/erlang.rb
index 6a8450bfc..3d6b06bef 100644
--- a/Library/Formula/erlang.rb
+++ b/Library/Formula/erlang.rb
@@ -5,9 +5,18 @@ require 'formula'
# elixir are compatible.
class Erlang < Formula
homepage 'http://www.erlang.org'
- # Download tarball from GitHub; it is served faster than the official tarball.
- url "https://github.com/erlang/otp/archive/OTP-17.3.tar.gz"
- sha1 "655e23a4f98b8ba4976dc417f0e876b40df74a7b"
+
+ stable do
+ # Download tarball from GitHub; it is served faster than the official tarball.
+ url "https://github.com/erlang/otp/archive/OTP-17.3.tar.gz"
+ sha1 "655e23a4f98b8ba4976dc417f0e876b40df74a7b"
+
+ # Upstream patch to fix http://erlang.org/pipermail/erlang-questions/2014-September/081176.html
+ patch do
+ url "https://github.com/erlang/otp/commit/b196730a325cfe74312c3a5f4b1273ba7c705ed6.diff"
+ sha1 "382fcaf4502adaac4f4c00dd46f64adb0ae84212"
+ end
+ end
head 'https://github.com/erlang/otp.git', :branch => 'master'