diff options
| author | kbinani | 2014-09-17 12:26:31 +0900 |
|---|---|---|
| committer | Jack Nagel | 2014-09-17 10:26:36 -0500 |
| commit | cad901aaa2debbbdab9486ca7e5c07e6f66dfa14 (patch) | |
| tree | d002f93d15fd8ab0156d6d34a9dc6d9924ed8125 /Library/Formula | |
| parent | 54a5ae0c7ba0215642d4d9e96795b5ac6dd8ca3f (diff) | |
| download | homebrew-cad901aaa2debbbdab9486ca7e5c07e6f66dfa14.tar.bz2 | |
cppdom: fix build failure.
Closes #32353.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cppdom.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/cppdom.rb b/Library/Formula/cppdom.rb index b89cf3cae..ce29f04c6 100644 --- a/Library/Formula/cppdom.rb +++ b/Library/Formula/cppdom.rb @@ -11,6 +11,20 @@ class Cppdom < Formula # Don't install to prefix/lib64 patch :DATA + # Fix build failure by '#include <tr1/unordered_map>' + # reported to upstream: https://sourceforge.net/p/xml-cppdom/patches/5/ + patch do + url "https://sourceforge.net/p/xml-cppdom/patches/5/attachment/switch_tr1_header.diff" + sha1 "a645006efc2e82478b5f7a1f0631f240a378b8a1" + end + + # Workaround for multiple boost versions + # reported to upstream: https://sourceforge.net/p/xml-cppdom/patches/6/ + patch do + url "https://sourceforge.net/p/xml-cppdom/patches/6/attachment/boost_integration.diff" + sha1 "e0c6a0d0cfe07317e343e3334e922213db2ea6b8" + end + def install args = ["prefix=#{prefix}", "build_test=no", "var_type=optimized", "BoostBaseDir=#{HOMEBREW_PREFIX}/"] |
