1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/x11-servers/Xfstt/files/patch-ab
Steve Price 8a3fd34186 Initial import of Xfstt version 0.9.10.
A TrueType font server for X11.

PR:		7883
Submitted by:	Joe Abley <jabley@clear.co.nz>
1998-12-24 06:36:08 +00:00

20 lines
535 B
Plaintext

--- 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>