From 999895c920b4da0f66a096f4d125173059f52651 Mon Sep 17 00:00:00 2001 From: Bastien Dejean Date: Sun, 25 May 2014 14:56:56 +0200 Subject: [PATCH] paps: Add patch to fix freetype2 header inclusions Closes Homebrew/homebrew#29564. Signed-off-by: Adam Vandenberg --- Formula/paps.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Formula/paps.rb b/Formula/paps.rb index b4e093e536..1f7b8f5c33 100644 --- a/Formula/paps.rb +++ b/Formula/paps.rb @@ -10,6 +10,8 @@ class Paps < Formula depends_on 'pkg-config' => :build depends_on 'pango' + patch :DATA + def install system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" @@ -33,3 +35,19 @@ Vietnamese (Tiếng Việt) Xin Chào safe_system "echo '#{utf8}' | #{bin}/paps > paps.ps" end end + +__END__ +diff -ru a/src/libpaps.c b/src/libpaps.c +--- a/src/libpaps.c 2014-05-25 14:16:27.000000000 +0200 ++++ b/src/libpaps.c 2014-05-25 14:17:25.000000000 +0200 +@@ -25,8 +25,8 @@ + + #include + #include +-#include +-#include ++#include ++#include + #include + #include + #include