summaryrefslogtreecommitdiff
path: root/x11/XFree86-4-libraries/files/patch-do_text.c
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2003-02-19 08:06:54 +0000
committerEric Anholt <anholt@FreeBSD.org>2003-02-19 08:06:54 +0000
commit3d4a7aef384afb09f33c9fea5ed5603e6968a874 (patch)
treeceef02aa74aec7e9df31519823b0371961feeeb1 /x11/XFree86-4-libraries/files/patch-do_text.c
parentUpdate to version 1.14. (diff)
Fix XFree86-4-libraries after Xft renaming removal:
Add `pkg-config xft --cflags` and --libs to Imakefiles of programs that use Xft and remove a bit of code not needed for Xft2, remove xftcache program. Reported by: many
Notes
Notes: svn path=/head/; revision=75861
Diffstat (limited to 'x11/XFree86-4-libraries/files/patch-do_text.c')
-rw-r--r--x11/XFree86-4-libraries/files/patch-do_text.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/x11/XFree86-4-libraries/files/patch-do_text.c b/x11/XFree86-4-libraries/files/patch-do_text.c
new file mode 100644
index 000000000000..adfd02fb0db4
--- /dev/null
+++ b/x11/XFree86-4-libraries/files/patch-do_text.c
@@ -0,0 +1,17 @@
+--- programs/x11perf/do_text.c.orig Wed Feb 19 07:39:37 2003
++++ programs/x11perf/do_text.c Wed Feb 19 07:39:39 2003
+@@ -421,14 +421,6 @@
+ p->font);
+ return 0;
+ }
+-
+- if (aafont->core)
+- {
+- printf ("FreeType font '%s' not available, benchmark omitted\n",
+- p->font);
+- XftFontClose (xp->d, aafont);
+- return 0;
+- }
+
+ aadraw = XftDrawCreate (xp->d, xp->w,
+ DefaultVisual (xp->d, DefaultScreen (xp->d)),