aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2014-03-14 10:03:24 -0500
committerJack Nagel2014-03-14 10:47:34 -0500
commit8f86d1fe8bc7803c14ae469af8af4a9f051233dd (patch)
treeeaea6818e0160bcb6e1c270173984419d79b2cca /Library/Formula
parent5b9cd02ae52ac2605c760a664850a84df1277478 (diff)
downloadhomebrew-8f86d1fe8bc7803c14ae469af8af4a9f051233dd.tar.bz2
libharu: use checksummed patches
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libharu.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/Library/Formula/libharu.rb b/Library/Formula/libharu.rb
index c835b3163..11beaacc9 100644
--- a/Library/Formula/libharu.rb
+++ b/Library/Formula/libharu.rb
@@ -7,13 +7,13 @@ class Libharu < Formula
depends_on :libpng
- def patches
- # Fixes compilation against LibPNG 1.5. Can be removed on next release.
- # Based on a commit in the LibHaru repository which does not apply cleanly
- # due to a missing CHANGES file:
- #
- # https://github.com/tony2001/libharu/commit/e5bf8b0.patch
- "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/libharu/files/libharu-2.2.1-libpng-1.5.patch?revision=1.1"
+ # Fixes compilation against LibPNG 1.5. Can be removed on next release.
+ # Based on a commit in the LibHaru repository which does not apply cleanly
+ # due to a missing CHANGES file:
+ # https://github.com/tony2001/libharu/commit/e5bf8b0.patch
+ patch do
+ url "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/libharu/files/libharu-2.2.1-libpng-1.5.patch?revision=1.1"
+ sha1 "463641d4570d59d632c1878597253db962129599"
end
def install