diff options
| author | CharlieRoot | 2011-08-03 11:27:45 +0400 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-09-21 23:08:13 -0700 |
| commit | 6a61a7436e7506efc2dada992e6eab0731d40282 (patch) | |
| tree | 733a70bb613186cddfa3924e74451d55408d7532 /Library/Formula | |
| parent | de362965fd5e13619d24e968db6b2af1c04167d6 (diff) | |
| download | homebrew-6a61a7436e7506efc2dada992e6eab0731d40282.tar.bz2 | |
Fix valgrind 3.6.1 on Mac OS X 10.7 Patch configure.in template to allow builds on Darwin 11 Make empty standard suppressions for Darwin 11
Closes #6811.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/valgrind.rb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Library/Formula/valgrind.rb b/Library/Formula/valgrind.rb index b6a12f5fc..f22bdd537 100644 --- a/Library/Formula/valgrind.rb +++ b/Library/Formula/valgrind.rb @@ -709,3 +709,34 @@ Index: coregrind/Makefile.am +endif + +EXTRA_DIST += fixup_macho_loadcmds.c +diff --git a/configure.in b/configure.in +index 3878619..ed28cfd 100644 +--- configure.in ++++ configure.in +@@ -282,6 +282,12 @@ case "${host_os}" in + DEFAULT_SUPP="darwin10.supp ${DEFAULT_SUPP}" + DEFAULT_SUPP="darwin10-drd.supp ${DEFAULT_SUPP}" + ;; ++ 11.*) ++ AC_MSG_RESULT([Darwin 11.x (${kernel}) / Mac OS X 10.7 Lion]) ++ AC_DEFINE([DARWIN_VERS], DARWIN_10_7, [Darwin / Mac OS X version]) ++ DEFAULT_SUPP="darwin11.supp ${DEFAULT_SUPP}" ++ DEFAULT_SUPP="darwin11-drd.supp ${DEFAULT_SUPP}" ++ ;; + *) + AC_MSG_RESULT([unsupported (${kernel})]) + AC_MSG_ERROR([Valgrind works on Darwin 9.x and 10.x (Mac OS X 10.5 and 10.6)]) +diff --git a/darwin11-drd.supp b/darwin11-drd.supp +index e69de29..31a56f7 100644 +--- darwin11-drd.supp ++++ darwin11-drd.supp +@@ -0,0 +1,2 @@ ++ ++# DRD suppressions for Darwin 11.x / Mac OS X 10.7 Lion +diff --git a/darwin11.supp b/darwin11.supp +index e69de29..fecd6b8 100644 +--- darwin11.supp ++++ darwin11.supp +@@ -0,0 +1,2 @@ ++ ++# Suppressions for Darwin 11.x / Mac OS X 10.7 Lion |
