diff options
Diffstat (limited to 'homebrew/gearman/.make.sh-auto')
-rw-r--r-- | homebrew/gearman/.make.sh-auto | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/homebrew/gearman/.make.sh-auto b/homebrew/gearman/.make.sh-auto new file mode 100644 index 000000000..380796d87 --- /dev/null +++ b/homebrew/gearman/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +ENV.delete("SDKROOT") if DevelopmentTools.clang_build_version >= 900 +Dir["tests/**/*.cc", "libtest/main.cc"].each do |test_file| +next unless /std::unique_ptr/ =~ File.read(test_file) +inreplace test_file, "std::unique_ptr", "std::auto_ptr" |