aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-16 21:35:21 -0500
committerJack Nagel2014-03-16 21:35:21 -0500
commit07d0177a3c803f67cd7cb1a58804fe1311510c69 (patch)
tree0b5a30f1c29e6a632da866758d5e8a2518676070 /Library
parent64cfdffa3b4970f6d9c772c5224dd60473f4a0f3 (diff)
downloadhomebrew-07d0177a3c803f67cd7cb1a58804fe1311510c69.tar.bz2
libsndfile: use checksummed patches
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libsndfile.rb27
1 files changed, 15 insertions, 12 deletions
diff --git a/Library/Formula/libsndfile.rb b/Library/Formula/libsndfile.rb
index 66fe6c3e6..8e67289d2 100644
--- a/Library/Formula/libsndfile.rb
+++ b/Library/Formula/libsndfile.rb
@@ -22,18 +22,21 @@ class Libsndfile < Formula
option :universal
- def patches
- [
- # libsndfile doesn't find Carbon.h using XCode 4.3:
- # fixed upstream: https://github.com/erikd/libsndfile/commit/d04e1de82ae0af48fd09d5cb09bf21b4ca8d513c
- "https://gist.github.com/metabr/8623583/raw/90966b76c6f52e1293b5303541e1f2d72e2afd08/0001-libsndfile-doesn-t-find-Carbon.h-using-XCode-4.3.patch",
- # libsndfile fails to build with libvorbis 1.3.4
- # fixed upstream:
- # https://github.com/erikd/libsndfile/commit/d7cc3dd0a437cfb087e09c80c0b89dfd3ec80a54
- # https://github.com/erikd/libsndfile/commit/700ae0e8f358497dd614bcee8e4b93c629209b37
- # https://github.com/erikd/libsndfile/commit/50d1df56f7f9b90d0fafc618d4947611e9689ae9
- "https://gist.github.com/metabr/8623583/raw/cd3540f4abd8521edf0011ab6dd40888cfadfd7a/0002-libsndfile-fails-to-build-with-libvorbis-1.3.4.patch"
- ]
+ # libsndfile doesn't find Carbon.h using XCode 4.3:
+ # fixed upstream: https://github.com/erikd/libsndfile/commit/d04e1de82ae0af48fd09d5cb09bf21b4ca8d513c
+ patch do
+ url "https://gist.github.com/metabr/8623583/raw/90966b76c6f52e1293b5303541e1f2d72e2afd08/0001-libsndfile-doesn-t-find-Carbon.h-using-XCode-4.3.patch"
+ sha1 "90f31bf3fe0998e2eb2ec36f85f9efe5b23e0a83"
+ end
+
+ # libsndfile fails to build with libvorbis 1.3.4
+ # fixed upstream:
+ # https://github.com/erikd/libsndfile/commit/d7cc3dd0a437cfb087e09c80c0b89dfd3ec80a54
+ # https://github.com/erikd/libsndfile/commit/700ae0e8f358497dd614bcee8e4b93c629209b37
+ # https://github.com/erikd/libsndfile/commit/50d1df56f7f9b90d0fafc618d4947611e9689ae9
+ patch do
+ url "https://gist.github.com/metabr/8623583/raw/cd3540f4abd8521edf0011ab6dd40888cfadfd7a/0002-libsndfile-fails-to-build-with-libvorbis-1.3.4.patch"
+ sha1 "051c2c2467a0d287b02dd3ef287a0fce68074040"
end
def install