pypy: fix Xcode 8 clock_gettime issue
Fixed in upstream default and release-5.x branches. Upstream asked us to apply this commit to 5.4.1 (https://bitbucket.org/pypy/pypy/issues/2407/#comment-31210382). Closes #5689. Signed-off-by: Zhiming Wang <zmwangx@gmail.com>
This commit is contained in:
parent
bf3f3cfb66
commit
6fee4c2441
1 changed files with 14 additions and 2 deletions
|
@ -1,10 +1,22 @@
|
||||||
class Pypy < Formula
|
class Pypy < Formula
|
||||||
desc "Highly performant implementation of Python 2 in Python"
|
desc "Highly performant implementation of Python 2 in Python"
|
||||||
homepage "http://pypy.org/"
|
homepage "http://pypy.org/"
|
||||||
url "https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.4.1-src.tar.bz2"
|
|
||||||
sha256 "45dbc50c81498f6f1067201b8fc887074b43b84ee32cc47f15e7db17571e9352"
|
|
||||||
head "https://bitbucket.org/pypy/pypy", :using => :hg
|
head "https://bitbucket.org/pypy/pypy", :using => :hg
|
||||||
|
|
||||||
|
stable do
|
||||||
|
url "https://bitbucket.org/pypy/pypy/downloads/pypy2-v5.4.1-src.tar.bz2"
|
||||||
|
sha256 "45dbc50c81498f6f1067201b8fc887074b43b84ee32cc47f15e7db17571e9352"
|
||||||
|
|
||||||
|
patch do
|
||||||
|
# patch for Xcode 8 clock_gettime issue
|
||||||
|
# remove when next release is out
|
||||||
|
# https://bitbucket.org/pypy/pypy/issues/2407/#comment-31210382
|
||||||
|
# https://bitbucket.org/pypy/pypy/commits/91b44e61f628
|
||||||
|
url "https://raw.githubusercontent.com/Homebrew/formula-patches/05b5cf6/pypy/patch-clock_gettime.diff"
|
||||||
|
sha256 "f9ae7918620740238e404e73007da06cb9bf16c21ed698f91e02432086ec4432"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
cellar :any
|
cellar :any
|
||||||
sha256 "ea22b917547f7187cb4180e06e10cc5d9367b8901aad8aaa2762020a50a25513" => :el_capitan
|
sha256 "ea22b917547f7187cb4180e06e10cc5d9367b8901aad8aaa2762020a50a25513" => :el_capitan
|
||||||
|
|
Loading…
Reference in a new issue