diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/wine.rb | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/Library/Formula/wine.rb b/Library/Formula/wine.rb index 1ed2a0440..620846e02 100644 --- a/Library/Formula/wine.rb +++ b/Library/Formula/wine.rb @@ -25,12 +25,16 @@ class Wine < Formula devel do url 'https://downloads.sourceforge.net/project/wine/Source/wine-1.7.14.tar.bz2' sha256 '2df1937e28936ba33e70a42fddcee01097ca0fbdd4dbf2c2f05d8a2ff5263e09' - end - head do - url 'git://source.winehq.org/git/wine.git' + # http://bugs.winehq.org/show_bug.cgi?id=34166 + patch do + url "http://bugs.winehq.org/attachment.cgi?id=47639" + sha1 "c195f4b9c0af450c7dc3f396e8661ea5248f2b01" + end end + head "git://source.winehq.org/git/wine.git" + env :std # note that all wine dependencies should declare a --universal option in their formula, @@ -70,13 +74,6 @@ class Wine < Formula cause 'error: invalid operand for instruction lretw' end - def patches - if build.devel? - # http://bugs.winehq.org/show_bug.cgi?id=34166 - 'http://bugs.winehq.org/attachment.cgi?id=47639' - end - end - # These libraries are not specified as dependencies, or not built as 32-bit: # configure: libv4l, gstreamer-0.10, libcapi20, libgsm |
