glog: use checksummed patches
parent
b59573f92a
commit
7dc7656681
|
@ -7,17 +7,19 @@ class Glog < Formula
|
||||||
|
|
||||||
depends_on 'gflags'
|
depends_on 'gflags'
|
||||||
|
|
||||||
def patches
|
if MacOS.version >= :mavericks
|
||||||
if MacOS.version >= :mavericks
|
# Since 0.3.4 has not yet been released, manually apply
|
||||||
[
|
# r134 that refactors the way headers are included.
|
||||||
# Since 0.3.4 has not yet been released, manually apply
|
patch do
|
||||||
# r134 that refactors the way headers are included.
|
url "https://gist.github.com/danslo/7128754/raw/9b19991da4753f5efb87ae9a6939e6c3e9bc1fdf/glog_logging_r134.diff"
|
||||||
"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++:
|
# 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://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",
|
patch do
|
||||||
]
|
url "https://gist.github.com/noahm/7364571/raw/436283200fe5a3ac5d00d769bb2203260bebfcf9/libc%2B%2B.diff"
|
||||||
|
sha1 "14fe8c422a92ebd6908861ee22cfe1a689191c18"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue