aboutsummaryrefslogtreecommitdiff
path: root/print/ghostscript8
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-03-19 19:44:11 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-03-19 19:44:11 +0000
commit415ffa4fde21f35fbff39c6f5621a4de71999249 (patch)
treea368b008b61cbb8a1187ae4baccb052bb04dd70c /print/ghostscript8
parent6ae3e7efd3f31a7d151bb3e0789b9fb412bcde15 (diff)
downloadports-415ffa4fde21f35fbff39c6f5621a4de71999249.tar.gz
ports-415ffa4fde21f35fbff39c6f5621a4de71999249.zip
Notes
Diffstat (limited to 'print/ghostscript8')
-rw-r--r--print/ghostscript8/Makefile2
-rw-r--r--print/ghostscript8/files/patch-src:fapi_ft.c12
2 files changed, 14 insertions, 0 deletions
diff --git a/print/ghostscript8/Makefile b/print/ghostscript8/Makefile
index 9703756aa59a..d18871480fb4 100644
--- a/print/ghostscript8/Makefile
+++ b/print/ghostscript8/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/ghostscript8/files/patch-src:fapi_ft.c b/print/ghostscript8/files/patch-src:fapi_ft.c
new file mode 100644
index 000000000000..9238e4f52ee8
--- /dev/null
+++ b/print/ghostscript8/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"