aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2014-03-16 23:33:19 -0500
committerJack Nagel2014-03-16 23:54:23 -0500
commit8e59a8468febef766cf2646cbacdc61c53f3886e (patch)
treefa34a01334709ef0e88561f48c0afc107093e36a /Library
parentf4dcc5e30f33cff27f23d2562ec77406f65ad9a7 (diff)
downloadhomebrew-8e59a8468febef766cf2646cbacdc61c53f3886e.tar.bz2
wine: use checksummed patches
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/wine.rb17
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