diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/kyoto-cabinet.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/kyoto-cabinet.rb b/Library/Formula/kyoto-cabinet.rb index 6e08d1f26..35c84db4f 100644 --- a/Library/Formula/kyoto-cabinet.rb +++ b/Library/Formula/kyoto-cabinet.rb @@ -18,4 +18,24 @@ class KyotoCabinet < Formula system "make" # Separate steps required system "make install" end + + def patches + if MacOS.version >= :mavericks + DATA + end + end end + + +__END__ +--- a/kccommon.h 2013-11-08 09:27:37.000000000 -0500 ++++ b/kccommon.h 2013-11-08 09:27:47.000000000 -0500 +@@ -82,7 +82,7 @@ + using ::snprintf; + } + +-#if __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__) || defined(_MSC_VER) ++#if __cplusplus > 199711L || defined(__GXX_EXPERIMENTAL_CXX0X__) || defined(_MSC_VER) || defined(_LIBCPP_VERSION) + + #include <unordered_map> + #include <unordered_set> |
