aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-16 19:35:07 -0500
committerJack Nagel2014-03-16 19:57:48 -0500
commit1f6e60a01dbbfdea8800031f48c0be84726c93b8 (patch)
tree2669ec61d9a3d552542dededc4892e1eb44fce4f /Library/Formula
parent285c9733975117c0424e53fce0d046b15bfd2847 (diff)
downloadhomebrew-1f6e60a01dbbfdea8800031f48c0be84726c93b8.tar.bz2
glog: use checksummed patches
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/glog.rb22
1 files changed, 12 insertions, 10 deletions
diff --git a/Library/Formula/glog.rb b/Library/Formula/glog.rb
index 6aec6f429..6930cd86b 100644
--- a/Library/Formula/glog.rb
+++ b/Library/Formula/glog.rb
@@ -7,17 +7,19 @@ class Glog < Formula
depends_on 'gflags'
- def patches
- if MacOS.version >= :mavericks
- [
- # Since 0.3.4 has not yet been released, manually apply
- # r134 that refactors the way headers are included.
- "https://gist.github.com/danslo/7128754/raw/9b19991da4753f5efb87ae9a6939e6c3e9bc1fdf/glog_logging_r134.diff",
+ if MacOS.version >= :mavericks
+ # Since 0.3.4 has not yet been released, manually apply
+ # r134 that refactors the way headers are included.
+ patch do
+ url "https://gist.github.com/danslo/7128754/raw/9b19991da4753f5efb87ae9a6939e6c3e9bc1fdf/glog_logging_r134.diff"
+ sha1 "a4a1a3d1467115f927935c441715b0f8c362abba"
+ end
- # Don't use tr1 prefix when we're using libc++:
- # https://code.google.com/p/google-glog/issues/detail?id=121 (patch mirrored on gist.github.com)
- "https://gist.github.com/noahm/7364571/raw/436283200fe5a3ac5d00d769bb2203260bebfcf9/libc%2B%2B.diff",
- ]
+ # Don't use tr1 prefix when we're using libc++:
+ # https://code.google.com/p/google-glog/issues/detail?id=121 (patch mirrored on gist.github.com)
+ patch do
+ url "https://gist.github.com/noahm/7364571/raw/436283200fe5a3ac5d00d769bb2203260bebfcf9/libc%2B%2B.diff"
+ sha1 "14fe8c422a92ebd6908861ee22cfe1a689191c18"
end
end