pianobar: fix audit warning and comment typo

master
Adam Vandenberg 2012-03-11 14:38:11 -07:00
parent 97a572e0ca
commit fa1836ce2b
1 changed files with 2 additions and 3 deletions

View File

@ -1,9 +1,8 @@
require 'formula' require 'formula'
class Pianobar < Formula class Pianobar < Formula
url 'https://github.com/PromyLOPh/pianobar/tarball/2012.01.10'
version '2012.01.10'
homepage 'https://github.com/PromyLOPh/pianobar/' homepage 'https://github.com/PromyLOPh/pianobar/'
url 'https://github.com/PromyLOPh/pianobar/tarball/2012.01.10'
md5 'a703227c079cb0fe20ac4abbdfbc6f08' md5 'a703227c079cb0fe20ac4abbdfbc6f08'
head 'https://github.com/PromyLOPh/pianobar.git' head 'https://github.com/PromyLOPh/pianobar.git'
@ -18,7 +17,7 @@ class Pianobar < Formula
fails_with_llvm "Reports of this not compiling on Xcode 4", :build => 2334 fails_with_llvm "Reports of this not compiling on Xcode 4", :build => 2334
def install def install
# we discard Homebrew's CFLAGS as Pianobar reportdely doesn't like them # Discard Homebrew's CFLAGS as Pianobar reportedly doesn't like them
ENV['CFLAGS'] = "-O2 -DNDEBUG " + ENV['CFLAGS'] = "-O2 -DNDEBUG " +
# fixes a segfault: https://github.com/PromyLOPh/pianobar/issues/138 # fixes a segfault: https://github.com/PromyLOPh/pianobar/issues/138
"-D_DARWIN_C_SOURCE " + "-D_DARWIN_C_SOURCE " +