aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorPavel Borzenkov2013-11-29 12:12:31 +0400
committerAdam Vandenberg2013-12-03 06:30:31 -0800
commit20d4d2aad0e18e71e51f152fd0a6599078c83695 (patch)
treef8884b250f0b12f32bb3b670f4d0537b8502b05c /Library/Formula
parentb3e62abca1da4fa6fcb13d04f02830a085c648e3 (diff)
downloadhomebrew-20d4d2aad0e18e71e51f152fd0a6599078c83695.tar.bz2
lbdb: fix compilation on Mountain Lion and Mavericks
Apply three patches from chrisbarrett/lbdb to fix compilation on Mountain Lion and Mavericks Closes #24761. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/lbdb.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/Library/Formula/lbdb.rb b/Library/Formula/lbdb.rb
index e227aab83..adc39143d 100644
--- a/Library/Formula/lbdb.rb
+++ b/Library/Formula/lbdb.rb
@@ -10,6 +10,16 @@ class Lbdb < Formula
head 'https://github.com/tgray/lbdb.git'
+ def patches
+ p = []
+ if MacOS.version >= :mountain_lion
+ p << 'https://github.com/chrisbarrett/lbdb/commit/db0440670194568bbfe2137fc063eb30cf26cb2a.diff'
+ p << 'https://github.com/chrisbarrett/lbdb/commit/b89ac6ee50e2c03c32635269d9818c045b0abb6f.diff'
+ p << 'https://github.com/chrisbarrett/lbdb/commit/6cbef5feb4fd921deb08eb52b4169647909946ae.diff'
+ end
+ p
+ end
+
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"