Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

valgrind 3.13.0 #14653

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 2 additions & 20 deletions Formula/valgrind.rb
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
class Valgrind < Formula
desc "Dynamic analysis tools (memory, debug, profiling)"
homepage "http://www.valgrind.org/"

stable do
url "http://valgrind.org/downloads/valgrind-3.12.0.tar.bz2"
sha256 "67ca4395b2527247780f36148b084f5743a68ab0c850cb43e4a5b4b012cf76a1"

# SVN r16103:
# "bzero is non-POSIX (deprecated), accordingly __bzero template required
# for all macOS versions. n-i-bz."
#
# Fixes build on macOS 10.12 (at least). Otherwise we would get undefined
# symbols error for __bzero.
patch :p0 do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/54d59bf/valgrind/bzero.diff"
sha256 "48de4054dba20c27ef6089d3ea7832e48dcbbb5368ac4316394b8be55ffe93a2"
end
end
url "ftp://sourceware.org/pub/valgrind/valgrind-3.13.0.tar.bz2"
sha256 "d76680ef03f00cd5e970bbdcd4e57fb1f6df7d2e2c071635ef2be74790190c3b"

bottle do
sha256 "ab3ef2be621bc6b0619d2a87a263d8d7a99056101305b3f4116d4c98049bd782" => :el_capitan
Expand All @@ -31,10 +17,6 @@ class Valgrind < Formula
depends_on "libtool" => :build
end

# https://bugs.kde.org/show_bug.cgi?id=365327#c2
# https://github.com/Homebrew/homebrew-core/pull/6231#issuecomment-255779374
depends_on MaximumMacOSRequirement => :el_capitan

# Valgrind needs vcpreload_core-*-darwin.so to have execute permissions.
# See #2150 for more information.
skip_clean "lib/valgrind"
Expand Down