diff options
| author | Misty De Meo | 2014-08-30 22:09:23 -0700 | 
|---|---|---|
| committer | Misty De Meo | 2014-08-30 22:09:44 -0700 | 
| commit | 7647bad9c50c427e061f3d4b7f0004c7da0338d1 (patch) | |
| tree | 144efbd71822d569038445ad676c9e477f2eef65 /Library/Formula/pianobar.rb | |
| parent | 64e9d38fc5969bcd719bfed6636ffb8dd3810dc4 (diff) | |
| download | homebrew-7647bad9c50c427e061f3d4b7f0004c7da0338d1.tar.bz2 | |
pianobar: upstream patch to fix segfault
Fixes #31957.
Diffstat (limited to 'Library/Formula/pianobar.rb')
| -rw-r--r-- | Library/Formula/pianobar.rb | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Formula/pianobar.rb b/Library/Formula/pianobar.rb index dc1f80419..cabf94959 100644 --- a/Library/Formula/pianobar.rb +++ b/Library/Formula/pianobar.rb @@ -20,6 +20,12 @@ class Pianobar < Formula      cause "Reports of this not compiling on Xcode 4"    end +  # Fixes segfault in JSON response parser; fixed upstream, will be in next release +  patch do +    url "https://github.com/PromyLOPh/pianobar/commit/597b2ec46a3708d50ab9620d5bb4fdbd19cf8a6c.diff" +    sha1 "d1a6215e72aeb95a77892898110d79e3737e3ba1" +  end +    def install      # Discard Homebrew's CFLAGS as Pianobar reportedly doesn't like them      ENV['CFLAGS'] = "-O2 -DNDEBUG " +  | 
