aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorChristopher Villalobos2010-09-21 11:22:45 -0400
committerAdam Vandenberg2010-09-26 09:48:36 -0700
commit08bdb50c09ffda00950803656855dd82d2e76197 (patch)
tree6a3dd2179fcc445640d224c6aba16778d37f6f5f /Library/Formula
parent62ba1fd81f5a2f0bff1024c2a4e619e7273bade6 (diff)
downloadhomebrew-08bdb50c09ffda00950803656855dd82d2e76197.tar.bz2
Added a patch for Erlang R14B, there was a auto_import change which causes a break.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/riak.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/riak.rb b/Library/Formula/riak.rb
index 2e510b36d..c7617379d 100644
--- a/Library/Formula/riak.rb
+++ b/Library/Formula/riak.rb
@@ -12,6 +12,11 @@ class Riak <Formula
skip_clean 'libexec/data/ring'
depends_on 'erlang'
+
+ def patches
+ # Having issues with the integer_to_list/2 BIF
+ DATA
+ end
def install
ENV.deparallelize
@@ -30,3 +35,18 @@ class Riak <Formula
(prefix + 'data/dets').mkpath
end
end
+
+__END__
+diff --git a/apps/riak_core/src/riak_core_util.erl b/apps/riak_core/src/riak_core_util.erl
+index 4c5d73c..e03a95a 100644
+--- a/apps/riak_core/src/riak_core_util.erl
++++ b/apps/riak_core/src/riak_core_util.erl
+@@ -22,7 +22,7 @@
+
+ %% @doc Various functions that are useful throughout Riak.
+ -module(riak_core_util).
+-
++-compile({no_auto_import,[integer_to_list/2]}).
+ -export([moment/0,
+ make_tmp_dir/0,
+ compare_dates/2,