From f0a44642a49bd2e2d152672f5760c7ea9354f25b Mon Sep 17 00:00:00 2001 From: Erlendur Date: Tue, 25 Mar 2014 01:23:24 +0100 Subject: open-babel: fix build with libc++ Backport of upstream commit, allowing libc++ to work with Open-babel 2.3.2 Fixes #23831. Fixes #28108. Closes #27264. Signed-off-by: Jack Nagel --- Library/Formula/open-babel.rb | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/open-babel.rb b/Library/Formula/open-babel.rb index 7a2c260a8..b72b40363 100644 --- a/Library/Formula/open-babel.rb +++ b/Library/Formula/open-babel.rb @@ -21,6 +21,12 @@ class OpenBabel < Formula sha1 "e304c308b39a465b632b397aa669c26f4b375da1" end + # Patch to support Mavericks's libc++, a backport of upstream commit c3abbddae78e654df9322ad1020ff79dd6332946 + patch do + url "https://gist.github.com/erlendurj/40689d57bea3b0b0c767/raw/f8c87557bcdbd79fb796e06088cdd77123c9260a/ob-mavericks.patch" + sha1 "3ea95b20fdbe50f656f3073ef8916974495b569a" + end + def install args = %W[ -DCMAKE_INSTALL_PREFIX=#{prefix} ] args << "-DJAVA_BINDINGS=ON" if build.with? 'java' -- cgit v1.2.3