aboutsummaryrefslogtreecommitdiff
path: root/print/ttf2pt1
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-14 18:21:19 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-10-14 18:21:19 +0000
commitc4a653303c485297ae7929069b0f3ed71147bb41 (patch)
tree7155c2566f7658674b5abc888b077a80b6239b7d /print/ttf2pt1
parent0b278f3c0b570f992bb51549ec44443b1ed0f7c8 (diff)
downloadports-c4a653303c485297ae7929069b0f3ed71147bb41.tar.gz
ports-c4a653303c485297ae7929069b0f3ed71147bb41.zip
enable freetype support
PR: 30122 Submitted by: KANOU Hiroki <kanou@mil.allnet.ne.jp>
Notes
Notes: svn path=/head/; revision=48764
Diffstat (limited to 'print/ttf2pt1')
-rw-r--r--print/ttf2pt1/files/patch-Makefile14
-rw-r--r--print/ttf2pt1/files/patch-ft.c11
2 files changed, 20 insertions, 5 deletions
diff --git a/print/ttf2pt1/files/patch-Makefile b/print/ttf2pt1/files/patch-Makefile
index df3da516a26a..3658885c7130 100644
--- a/print/ttf2pt1/files/patch-Makefile
+++ b/print/ttf2pt1/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Mon May 28 10:38:17 2001
-+++ Makefile Sun Aug 12 01:07:51 2001
+--- Makefile.orig Mon May 28 11:38:17 2001
++++ Makefile Mon Aug 27 16:14:29 2001
@@ -20,7 +20,7 @@
#
# Default
@@ -9,16 +9,20 @@
# For GNU C
#
-@@ -54,7 +54,7 @@
+@@ -54,18 +54,18 @@
# This WON'T BUILD with FT2-beta8, use the FreeType release 2.0.
# http://download.sourceforge.net/freetype/freetype-2.0.tar.gz
-CFLAGS_FT=
-+CFLAGS_FT= `${FREETYPE_CONFIG} --cflags`
++#CFLAGS_FT=
# To enable use of the FreeType-2 library
# (if the include and lib directory do not match your installation,
-@@ -65,7 +65,7 @@
+ # modify them), also uncomment LIBS_FT
+ #
+-#CFLAGS_FT = -DUSE_FREETYPE -I/usr/local/include/freetype2
++CFLAGS_FT = -DUSE_FREETYPE `${FREETYPE_CONFIG} --cflags` -I/usr/local/include
+
#
# The FreeType-2 library flags (disabled by default)
diff --git a/print/ttf2pt1/files/patch-ft.c b/print/ttf2pt1/files/patch-ft.c
new file mode 100644
index 000000000000..f82957793088
--- /dev/null
+++ b/print/ttf2pt1/files/patch-ft.c
@@ -0,0 +1,11 @@
+--- ft.c.orig Wed May 16 10:31:08 2001
++++ ft.c Mon Aug 27 17:58:55 2001
+@@ -14,7 +14,7 @@
+ #include <sys/types.h>
+ #include <freetype/freetype.h>
+ #include <freetype/ftglyph.h>
+-#include <freetype/ftnames.h>
++#include <freetype/ftsnames.h>
+ #include <freetype/ttnameid.h>
+ #include <freetype/ftoutln.h>
+ #include "pt1.h"