diff options
| author | Jack Nagel | 2014-05-25 15:44:01 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-05-25 15:44:01 -0500 |
| commit | 66f2d4f4d7184cd7ea38e771be2914ae71c8f653 (patch) | |
| tree | d5b133caa48fc5727b4a930491d5f7a1b32c8125 | |
| parent | 838fabc98251db14866035aeb85c1a6a0e8ba6ae (diff) | |
| download | homebrew-66f2d4f4d7184cd7ea38e771be2914ae71c8f653.tar.bz2 | |
paps: adjust patch to use forward-compatible freetype includes
| -rw-r--r-- | Library/Formula/paps.rb | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/Library/Formula/paps.rb b/Library/Formula/paps.rb index 239927a4c..216dd0ad0 100644 --- a/Library/Formula/paps.rb +++ b/Library/Formula/paps.rb @@ -43,17 +43,20 @@ Vietnamese (Tiếng Việt) Xin Chào 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 @@ - +diff --git a/src/libpaps.c b/src/libpaps.c +index 6081d0d..d502b68 100644 +--- a/src/libpaps.c ++++ b/src/libpaps.c +@@ -25,8 +25,10 @@ + #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 <ft2build.h> ++#include FT_FREETYPE_H ++#include FT_GLYPH_H ++#include FT_OUTLINE_H #include <errno.h> #include <stdlib.h> #include <stdio.h> |
