Skip to content

Commit

Permalink
mplayer: fails with llvm
Browse files Browse the repository at this point in the history
Closes Homebrew#8330.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
mistydemeo authored and jacknagel committed Nov 4, 2011
1 parent b28daac commit a08c66f
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Library/Formula/mplayer.rb
Expand Up @@ -10,6 +10,8 @@ class Mplayer < Formula
depends_on 'pkg-config' => :build
depends_on 'yasm' => :build

fails_with_llvm "Missing symbols error while linking"

def patches
# When building from SVN HEAD, configure prompts the user to pull FFmpeg
# from git. Don't do that.
Expand All @@ -26,7 +28,6 @@ def install
# * https://github.com/mxcl/homebrew/issues/622
# * http://trac.macports.org/browser/trunk/dports/multimedia/mplayer-devel/Portfile
# (B) Any kind of optimisation breaks the build
ENV.gcc_4_2
ENV['CFLAGS'] = ''
ENV['CXXFLAGS'] = ''

Expand All @@ -40,15 +41,15 @@ def install

__END__
diff --git a/configure b/configure
index ef60340..0b24e73 100755
index bbfcd51..5734024 100755
--- a/configure
+++ b/configure
@@ -48,8 +48,6 @@
fi
@@ -48,8 +48,6 @@ if test -e ffmpeg/mp_auto_pull ; then
fi

if ! test -e ffmpeg ; then
if ! test -e ffmpeg ; then
- echo "No FFmpeg checkout, press enter to download one with git or CTRL+C to abort"
- read tmp
if ! git clone --depth 1 git://git.videolan.org/ffmpeg.git ffmpeg ; then
rm -rf ffmpeg
echo "Failed to get a FFmpeg checkout"
rm -rf ffmpeg
echo "Failed to get a FFmpeg checkout"

0 comments on commit a08c66f

Please sign in to comment.