aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/bitlbee.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/Library/Formula/bitlbee.rb b/Library/Formula/bitlbee.rb
index 376f6ebf8..82d7f8b9e 100644
--- a/Library/Formula/bitlbee.rb
+++ b/Library/Formula/bitlbee.rb
@@ -16,6 +16,14 @@ class Bitlbee < Formula
depends_on 'finch' => :optional
depends_on 'libotr' => :optional
+ if build.with? "libotr"
+ # Head versions of bitlbee support otr4, but there is no release yet.
+ patch do
+ url "http://patch-tracker.debian.org/patch/nondebian/dl/bitlbee/3.2.1+otr4-1"
+ sha1 "04d0f58faa58d1702994e84a3d8177451b0d1ad8"
+ end
+ end
+
def install
args = ["--prefix=#{prefix}",
"--debug=0",