diff options
author | Steve Price <steve@FreeBSD.org> | 1998-12-24 06:36:08 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 1998-12-24 06:36:08 +0000 |
commit | 8a3fd34186c5b5eec0f3be0c39c932e3d057b181 (patch) | |
tree | 44ab98e182bdbeb99487a8adc00214a156139024 /x11-servers/Xfstt/files | |
parent | Update to version 4.08. (diff) |
Initial import of Xfstt version 0.9.10.
A TrueType font server for X11.
PR: 7883
Submitted by: Joe Abley <jabley@clear.co.nz>
Diffstat (limited to 'x11-servers/Xfstt/files')
-rw-r--r-- | x11-servers/Xfstt/files/patch-aa | 30 | ||||
-rw-r--r-- | x11-servers/Xfstt/files/patch-ab | 19 | ||||
-rw-r--r-- | x11-servers/Xfstt/files/patch-ac | 11 |
3 files changed, 60 insertions, 0 deletions
diff --git a/x11-servers/Xfstt/files/patch-aa b/x11-servers/Xfstt/files/patch-aa new file mode 100644 index 000000000000..2ff414ce74d2 --- /dev/null +++ b/x11-servers/Xfstt/files/patch-aa @@ -0,0 +1,30 @@ +--- Makefile.orig Sun Oct 25 11:21:12 1998 ++++ Makefile Wed Dec 23 19:32:02 1998 +@@ -2,13 +2,13 @@ + MISCOPT = + OPT = $(MISCOPT) $(MAXOPT) + +-CFLAGS = $(OPT) -DMAGNIFY=0 -DNDEBUG ++#CFLAGS = $(OPT) -DMAGNIFY=0 -DNDEBUG + #CFLAGS = -fprofile-arcs -ftest-coverage -DMAGNIFY=0 + CFLAGS = -g -Wall -pedantic $(MISCOPT) -DMAGNIFY=0 + #CFLAGS = -O -Wall -pedantic -DDEBUG $(MISCOPT) + +-LFLAGS = -L/usr/X11R6/lib -L/usr/openwin/lib/X11 +-LFLAGS = -g -L/usr/X11R6/lib ++#LFLAGS = -L/usr/X11R6/lib -L/usr/openwin/lib/X11 ++LFLAGS = -g -L$(X11BASE)/lib + + CC = c++ + LD = c++ +@@ -55,8 +55,8 @@ + $(LD) -o $@ $(OBJS) xfstt.o encoding.o $(LFLAGS) -lm + + xfstt.o : xfstt.cpp xfstt.h ttf.h arch.h Makefile +- $(CC) $(CFLAGS) -c $< -I/usr/X11R6/include/X11/fonts \ +- -I/usr/X11R6/include/ ++ $(CC) $(CFLAGS) -c $< -I$(X11BASE)/include/X11/fonts \ ++ -I$(X11BASE)/include/ + + encoding.o : encoding.cpp encoding.h Makefile + $(CC) $(CFLAGS) -c $< diff --git a/x11-servers/Xfstt/files/patch-ab b/x11-servers/Xfstt/files/patch-ab new file mode 100644 index 000000000000..59088553138a --- /dev/null +++ b/x11-servers/Xfstt/files/patch-ab @@ -0,0 +1,19 @@ +--- xfstt.cpp.orig Sun Oct 25 11:21:12 1998 ++++ xfstt.cpp Wed Dec 23 19:29:11 1998 +@@ -8,7 +8,7 @@ + // if you are sure your X11 server doesn't request more + // than it can handle, increase the limit up to 65535 + #define UNSTRAPLIMIT 10500U +-#define TTFONTDIR "/usr/ttfonts" ++#define TTFONTDIR "/usr/X11R6/lib/X11/fonts/TrueType" + + #define MAXOPENFONTS 256 + #define MAXREPLYSIZE (1<<22) +@@ -22,6 +22,7 @@ + #include "ttfn.h" + #include "encoding.h" + ++#include <sys/types.h> + #include <dirent.h> + #include <string.h> + #include <ctype.h> diff --git a/x11-servers/Xfstt/files/patch-ac b/x11-servers/Xfstt/files/patch-ac new file mode 100644 index 000000000000..7bedac07abf6 --- /dev/null +++ b/x11-servers/Xfstt/files/patch-ac @@ -0,0 +1,11 @@ +--- perftest.cpp.orig Wed Dec 23 21:21:45 1998 ++++ perftest.cpp Wed Dec 23 21:22:15 1998 +@@ -1,7 +1,7 @@ + // test ttf engine performance + // (C) Copyright 1997-1998 Herbert Duerr + +-#define TTFONTDIR "/usr/ttfonts" ++#define TTFONTDIR "/usr/X11R6/lib/X11/fonts/TrueType" + #define MAXFONTBUFSIZE (2048*2048) + + #include "ttf.h" |