diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-03-19 19:44:11 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-03-19 19:44:11 +0000 |
commit | 415ffa4fde21f35fbff39c6f5621a4de71999249 (patch) | |
tree | a368b008b61cbb8a1187ae4baccb052bb04dd70c /print/ghostscript-gpl | |
parent | 6ae3e7efd3f31a7d151bb3e0789b9fb412bcde15 (diff) |
- Fix build with freetype-2.1.7
PR: ports/64472
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=104657
Diffstat (limited to 'print/ghostscript-gpl')
-rw-r--r-- | print/ghostscript-gpl/Makefile | 2 | ||||
-rw-r--r-- | print/ghostscript-gpl/files/patch-src:fapi_ft.c | 12 |
2 files changed, 14 insertions, 0 deletions
diff --git a/print/ghostscript-gpl/Makefile b/print/ghostscript-gpl/Makefile index 9703756aa59a..d18871480fb4 100644 --- a/print/ghostscript-gpl/Makefile +++ b/print/ghostscript-gpl/Makefile @@ -426,6 +426,8 @@ pre-build: .endfor .if defined(WITH_FT_BRIDGE) ${MKDIR} ${WRKSRC}/freetype/include + ${LN} -sf ${LOCALBASE}/include/ft2build.h \ + ${WRKSRC}/freetype/include/ft2build.h ${LN} -sf ${LOCALBASE}/include/freetype2/freetype \ ${WRKSRC}/freetype/include/freetype ${MKDIR} ${WRKSRC}/freetype/objs diff --git a/print/ghostscript-gpl/files/patch-src:fapi_ft.c b/print/ghostscript-gpl/files/patch-src:fapi_ft.c new file mode 100644 index 000000000000..9238e4f52ee8 --- /dev/null +++ b/print/ghostscript-gpl/files/patch-src:fapi_ft.c @@ -0,0 +1,12 @@ +--- src/fapi_ft.c.orig Sat Dec 13 07:07:59 2003 ++++ src/fapi_ft.c Wed Mar 17 21:43:43 2004 +@@ -30,7 +30,8 @@ + #include "math_.h" + + /* FreeType headers */ +-#include "freetype/freetype.h" ++#include "ft2build.h" ++#include FT_FREETYPE_H + #include "freetype/ftincrem.h" + #include "freetype/ftglyph.h" + #include "freetype/ftoutln.h" |