aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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