From 6d6ed680f616f9129e2c6a9fd8d70fc017f6c548 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 11 Feb 2014 20:22:02 -0800 Subject: swfmill: patch to use newer freetype Closes #25625. --- Library/Formula/swfmill.rb | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Library') 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 ", + "#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" -- cgit v1.2.3