summaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2001-10-14 18:21:19 +0000
committerijliao <ijliao@FreeBSD.org>2001-10-14 18:21:19 +0000
commitd6c438e0700f819b3e43c647e72dc0e821890f96 (patch)
tree859dec6bfc5c7382704b9b81d04675c492087760 /print
parentec3f156be6f24afbb50e5ad12d3ed9440d3a6358 (diff)
downloadFreeBSD-ports-d6c438e0700f819b3e43c647e72dc0e821890f96.zip
FreeBSD-ports-d6c438e0700f819b3e43c647e72dc0e821890f96.tar.gz
enable freetype support
PR: 30122 Submitted by: KANOU Hiroki <kanou@mil.allnet.ne.jp>
Diffstat (limited to 'print')
-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 df3da51..3658885 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 0000000..f829577
--- /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"
OpenPOWER on IntegriCloud