diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/gearman.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Library/Formula/gearman.rb b/Library/Formula/gearman.rb index 059435003..2b9650346 100644 --- a/Library/Formula/gearman.rb +++ b/Library/Formula/gearman.rb @@ -21,6 +21,13 @@ class Gearman < Formula system "make install" end + def patches + # build fix for tr1 -> std + # Fixes have also been applied upstream + DATA if MacOS.version >= :mavericks + end + + plist_options :manual => "gearmand -d" def plist; <<-EOS.undent @@ -40,3 +47,21 @@ class Gearman < Formula EOS end end + +__END__ +diff --git a/libgearman-1.0/gearman.h b/libgearman-1.0/gearman.h +index 850a26d..8f7a8f0 100644 +--- a/libgearman-1.0/gearman.h ++++ b/libgearman-1.0/gearman.h +@@ -50,7 +50,11 @@ + #endif + + #ifdef __cplusplus ++#ifdef _LIBCPP_VERSION ++# include <cinttypes> ++#else + # include <tr1/cinttypes> ++#endif + # include <cstddef> + # include <cstdlib> + # include <ctime> |
