diff options
| author | nibbles 2bits | 2012-04-25 16:00:32 -0700 |
|---|---|---|
| committer | Jack Nagel | 2012-04-25 21:26:06 -0500 |
| commit | 8222d59e00609aa801f5f1a67fb291860a2eccb5 (patch) | |
| tree | 8c8939c91c73068885c7ef56590d6d731ee2af80 /Library/Formula | |
| parent | df43a1d1120c3c355a461caffdd8a207edfc69d0 (diff) | |
| download | homebrew-8222d59e00609aa801f5f1a67fb291860a2eccb5.tar.bz2 | |
x264: update to r2197 and fix clang optimization
Upgrade x264 to the latest stable tarball, 20120425.
Add `ENV.O1` when compiling with clang, which fixes a segfault
when encoding with libx264. The fps encoding rate remains the
same using this commit. The changelog listed in the formula
comments was checked, and the version is unchanged. This will
cause a hash fail when x264-r2184.tar.bz2 already exists. The
user will have to remove the cached tarball and try again. At
the time this commit is being submitted, the x264-devel mailing
listserv is offline. So it hasn't been reported a second time.
Fixes #11248.
Closes #11885.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/x264.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Library/Formula/x264.rb b/Library/Formula/x264.rb index 347b5a9aa..08e4a2552 100644 --- a/Library/Formula/x264.rb +++ b/Library/Formula/x264.rb @@ -4,9 +4,9 @@ class X264 < Formula homepage 'http://www.videolan.org/developers/x264.html' # The version is _not_ 2245. See http://www.x264.nl/x264/changelog.txt for # the revision numbers that are attached to each commit. - url 'http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20120327-2245-stable.tar.bz2' - version 'r2184' - md5 '0660e5829dc7f621bb98124440e38924' + url 'http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20120425-2245-stable.tar.bz2' + sha1 '969e015e5df24091b5e62873808e6529a7f2fb7f' + version 'r2197' head 'git://git.videolan.org/x264.git' @@ -17,6 +17,9 @@ class X264 < Formula end def install + # See https://github.com/mxcl/homebrew/issues/11248 + ENV.O1 if ENV.compiler == :clang + args = ["--prefix=#{prefix}", "--enable-shared"] args << "--bit-depth=10" if ARGV.include?('--10-bit') |
