diff options
| author | Jocelyn Mallon | 2012-04-18 13:53:57 -0700 |
|---|---|---|
| committer | Jack Nagel | 2012-04-19 16:31:56 -0500 |
| commit | a0cccf4d0d01f408e82bc70e865ad8be8476d480 (patch) | |
| tree | 930e3a353c2205b2a9b944de874224f72bdd032c /Library | |
| parent | 3f2e4ac1ee86687ac2cd5c78f488f1cbc45f0ae8 (diff) | |
| download | homebrew-a0cccf4d0d01f408e82bc70e865ad8be8476d480.tar.bz2 | |
pngcrush 1.7.27
Sstarting with v1.7.26, pngcrush uses zlib 1.2.6, and per project
changelog, requires -DZ_SOLO CFLAG to workaround compiler bugs:
http://pmt.sourceforge.net/pngcrush/changelog.html
Closes #11748.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/pngcrush.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/pngcrush.rb b/Library/Formula/pngcrush.rb index ba4c89f21..b275536ab 100644 --- a/Library/Formula/pngcrush.rb +++ b/Library/Formula/pngcrush.rb @@ -2,10 +2,13 @@ require 'formula' class Pngcrush < Formula homepage 'http://pmt.sourceforge.net/pngcrush/' - url 'http://downloads.sourceforge.net/project/pmt/pngcrush/1.7.25/pngcrush-1.7.25.tar.bz2' - md5 'c891a418419efa07aa513db602d8f403' + url 'http://downloads.sourceforge.net/project/pmt/pngcrush/1.7.27/pngcrush-1.7.27.tar.bz2' + md5 '582ab2b4c262b8837cc2d30bf7d14f33' def install + # Required to successfully build the bundled zlib 1.2.6 + ENV.append_to_cflags "-DZ_SOLO" + system "make", "CC=#{ENV.cc}", "LD=#{ENV.cc}", "CFLAGS=#{ENV.cflags}", |
