diff options
| author | Bastien Dejean | 2014-05-25 14:56:56 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2014-05-25 09:52:19 -0700 |
| commit | 4ee3e623f04211ecc64cf9d5f5d21de8a48f8957 (patch) | |
| tree | d48d4168f28da89fa94d29014ae96fb614c77204 /Library | |
| parent | f580e6e148f4b2d30bea4c76ed7e965484aff65c (diff) | |
| download | homebrew-4ee3e623f04211ecc64cf9d5f5d21de8a48f8957.tar.bz2 | |
paps: Add patch to fix freetype2 header inclusions
Closes #29564.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/paps.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/paps.rb b/Library/Formula/paps.rb index b4e093e53..1f7b8f5c3 100644 --- a/Library/Formula/paps.rb +++ b/Library/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 <pango/pango.h> + #include <pango/pangoft2.h> +-#include <freetype/ftglyph.h> +-#include <freetype/ftoutln.h> ++#include <freetype2/ftglyph.h> ++#include <freetype2/ftoutln.h> + #include <errno.h> + #include <stdlib.h> + #include <stdio.h> |
