diff options
| author | Daniel Russel | 2013-10-29 11:47:58 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-10-30 07:44:57 -0700 |
| commit | 0a609e9b4338fa608980731eb5cda0944355e709 (patch) | |
| tree | dfc7e6fe56c48d7f0bfcb71afccaf37d43847009 /Library | |
| parent | 92563c650ca3af6515fdd564f0fba8ceeecfd455 (diff) | |
| download | homebrew-0a609e9b4338fa608980731eb5cda0944355e709.tar.bz2 | |
google-perftools: add missing #include
Fixes #23601.
Closes #23752.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/google-perftools.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/google-perftools.rb b/Library/Formula/google-perftools.rb index 6fb14345d..928de5638 100644 --- a/Library/Formula/google-perftools.rb +++ b/Library/Formula/google-perftools.rb @@ -11,6 +11,10 @@ class GooglePerftools < Formula cause "Segfault during linking" end + def patches + DATA + end + def install ENV.append_to_cflags '-D_XOPEN_SOURCE' system "./configure", "--disable-dependency-tracking", @@ -19,3 +23,14 @@ class GooglePerftools < Formula system "make install" end end + +__END__ +--- a/src/static_vars.cc ++++ b/src/static_vars.cc +@@ -37,6 +37,7 @@ + #include "common.h" + #include "sampler.h" // for Sampler + #include "base/googleinit.h" ++#include <pthread.h> + + namespace tcmalloc { |
