diff options
| author | Jack Nagel | 2014-03-13 21:42:11 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-13 21:46:57 -0500 |
| commit | faceca51066f4d2870b8c41f11ce743bf949eadc (patch) | |
| tree | a17a989d752684d500d900eb252fca52fb22bfd7 /Library/Formula/fontforge.rb | |
| parent | 6fe9380aba5cb1ffa254b62b807449ec9d990589 (diff) | |
| download | homebrew-faceca51066f4d2870b8c41f11ce743bf949eadc.tar.bz2 | |
fontforge: use checksummed patches
Diffstat (limited to 'Library/Formula/fontforge.rb')
| -rw-r--r-- | Library/Formula/fontforge.rb | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Library/Formula/fontforge.rb b/Library/Formula/fontforge.rb index f1eea2d4a..1356b2df2 100644 --- a/Library/Formula/fontforge.rb +++ b/Library/Formula/fontforge.rb @@ -9,6 +9,12 @@ class Fontforge < Formula depends_on 'cairo' => :optional depends_on 'pango' => :optional + + # Fixes double defined AnchorPoint on Mountain Lion 10.8.2 + patch do + url "https://gist.github.com/rubenfonseca/5078149/raw/98a812df4e8c50d5a639877bc2d241e5689f1a14/fontforge" + sha1 "baa7d60f4c6e672180e66438ee675b4ee0fda5ce" + end end head do @@ -44,13 +50,6 @@ class Fontforge < Formula cause "Compiling cvexportdlg.c fails with error: initializer element is not constant" end - def patches - unless build.head? - # Fixes double defined AnchorPoint on Mountain Lion 10.8.2 - "https://gist.github.com/rubenfonseca/5078149/raw/98a812df4e8c50d5a639877bc2d241e5689f1a14/fontforge" - end - end - def install args = ["--prefix=#{prefix}", "--enable-double", |
