Skip to content

Commit

Permalink
rtorrent: fix build on 10.4, 10.5
Browse files Browse the repository at this point in the history
Fixes #237.
  • Loading branch information
mistydemeo committed Aug 22, 2014
1 parent 31d5649 commit 1bb3cc3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Library/Formula/rtorrent.rb
Expand Up @@ -15,6 +15,19 @@ class Rtorrent < Formula
cause "Causes segfaults at startup/at random."
end

# https://trac.macports.org/ticket/27289
if MacOS.version < :snow_leopard
fails_with :gcc_4_0
fails_with :gcc
fails_with :llvm
end

# posix_memalign unavailable before Snow Leopard
patch :p0 do
url "https://trac.macports.org/export/124274/trunk/dports/net/libtorrent/files/no_posix_memalign.patch"
sha1 "c507b74290f16f933da0a648645945e938a8e36d"
end

def install
# Commented out since we're now marked as failing with clang - adamv
# ENV.libstdcxx if ENV.compiler == :clang
Expand Down

0 comments on commit 1bb3cc3

Please sign in to comment.