wine: fix audit

This commit is contained in:
Adam Vandenberg 2012-10-21 13:27:57 -07:00
parent b3c5e9d1af
commit 2407da8733

View file

@ -14,6 +14,7 @@ class Wine < Formula
homepage 'http://winehq.org/'
url 'http://downloads.sourceforge.net/project/wine/Source/wine-1.4.1.tar.bz2'
sha256 '3c233e3811e42c2f3623413783dbcd0f2288014b5645211f669ffd0ba6ae1856'
head 'git://source.winehq.org/git/wine.git'
devel do
@ -93,8 +94,8 @@ class Wine < Formula
# Use a wrapper script, so rename wine to wine.bin
# and name our startup script wine
mv (bin+'wine'), (bin+'wine.bin')
(bin+'wine').write(wine_wrapper)
mv bin/'wine', bin/'wine.bin'
(bin/'wine').write(wine_wrapper)
end
def caveats
@ -109,13 +110,15 @@ class Wine < Formula
http://code.google.com/p/osxwinebuilder/
EOS
# see http://bugs.winehq.org/show_bug.cgi?id=31374
s += <<-EOS.undent if (ARGV.build_devel? or ARGV.build_head?)
unless build.stable?
s += <<-EOS.undent
The current version of Wine contains a partial implementation of dwrite.dll
which may cause text rendering issues in applications such as Steam.
We recommend that you run winecfg, add an override for dwrite in the
Libraries tab, and edit the override mode to "disable".
EOS
The current version of Wine contains a partial implementation of dwrite.dll
which may cause text rendering issues in applications such as Steam.
We recommend that you run winecfg, add an override for dwrite in the
Libraries tab, and edit the override mode to "disable".
EOS
end
return s
end
end