diff options
| author | Adam Vandenberg | 2014-02-11 20:22:02 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2014-02-11 20:22:02 -0800 |
| commit | 6d6ed680f616f9129e2c6a9fd8d70fc017f6c548 (patch) | |
| tree | e4c5efd3c7bdba00903d34f633cef12d28564b8d | |
| parent | a9077af885e0cc708b535203e7a39866473b2702 (diff) | |
| download | homebrew-6d6ed680f616f9129e2c6a9fd8d70fc017f6c548.tar.bz2 | |
swfmill: patch to use newer freetype
Closes #25625.
| -rw-r--r-- | Library/Formula/swfmill.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/swfmill.rb b/Library/Formula/swfmill.rb index 44e1e4bdc..92b63d30f 100644 --- a/Library/Formula/swfmill.rb +++ b/Library/Formula/swfmill.rb @@ -10,6 +10,13 @@ class Swfmill < Formula depends_on :libpng def install + # Use inreplace isntead of a patch due to newlines + # Reported usptream: + # https://github.com/djcsdy/swfmill/issues/32 + inreplace "src/swft/swft_import_ttf.cpp", + "#include <freetype/tttables.h>", + "#include FT_TRUETYPE_TABLES_H" + system "./configure", "--prefix=#{prefix}" # Has trouble linking against zlib unless we add it here - @adamv system "make", "LIBS=-lz", "install" |
