# --- T2-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# 
# T2 SDE: package/.../fontconfig/x11_fonts.patch
# Copyright (C) 2006 The T2 SDE Project
# 
# More information can be found in the files COPYING and README.
# 
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- T2-COPYRIGHT-NOTE-END ---

Do not leave the default FC_FONTPATH undefined.

 - Bart Kreska <wytnijto@smlw.pl>  (Rage Against Gravity)
 - Rene Rebe <rene@exactcode.de>

--- fontconfig-2.3.93/configure.in.orig	2006-02-01 17:44:59.873780384 +0000
+++ fontconfig-2.3.93/configure.in	2006-02-01 18:48:52.103192960 +0000
@@ -385,6 +385,9 @@
 
 case "$FC_ADD_FONTS" in
 "")
+	# If no font directories were found, then X11 is probably
+	# not installed yet. Define default X11 font path
+	FC_FONTPATH="<dir>/usr/X11/lib/X11/fonts</dir>"
 	;;
 *)
 	FC_FONTPATH=`echo $FC_ADD_FONTS | 
--- fontconfig-2.3.93/configure	2005-12-21 04:43:42.000000000 +0100
+++ fontconfig-2.3.93-fixed/configure	2006-02-02 12:15:35.000000000 +0100
@@ -22476,6 +22476,9 @@
 
 case "$FC_ADD_FONTS" in
 "")
+	# If no font directories were found, then X11 is probably
+	# not installed yet. Define default X11 font path
+	FC_FONTPATH="<dir>/usr/X11/lib/X11/fonts</dir>"
 	;;
 *)
 	FC_FONTPATH=`echo $FC_ADD_FONTS |