diff options
| author | Daniel Berjón | 2011-08-25 16:43:28 +0200 |
|---|---|---|
| committer | Charlie Sharpsteen | 2011-08-25 11:50:48 -0700 |
| commit | fe6b68c59bb9cc9e562ea1d9c972a49232b1fd77 (patch) | |
| tree | 93ff69e3ba237c7f996e8fc718ce95e1b08a81f9 /Library/Formula/libharu.rb | |
| parent | 4dd372de9901763364d96290e05b13667c645587 (diff) | |
| download | homebrew-fe6b68c59bb9cc9e562ea1d9c972a49232b1fd77.tar.bz2 | |
Libharu: fixed compilation on Lion
Apparently Lion ships with libpng 1.5, which breaks compilation of libharu 2.2.1. Applied patch to fix it before next release.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula/libharu.rb')
| -rw-r--r-- | Library/Formula/libharu.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/libharu.rb b/Library/Formula/libharu.rb index cacb3fb7d..5b6440dbc 100644 --- a/Library/Formula/libharu.rb +++ b/Library/Formula/libharu.rb @@ -5,6 +5,15 @@ class Libharu < Formula url 'http://libharu.org/files/libharu-2.2.1.tar.bz2' md5 '4febd7e677b1c5d54db59a608b84e79f' + 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" + end + def install system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", |
