diff options
Diffstat (limited to 'meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/crosscompile.patch')
-rw-r--r-- | meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/crosscompile.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/crosscompile.patch b/meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/crosscompile.patch new file mode 100644 index 0000000000..8b82de2223 --- /dev/null +++ b/meta/recipes-graphics/xorg-xserver/xserver-xf86-dri-lite/crosscompile.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | diff --git a/configure.ac b/configure.ac | ||
2 | index b3b752c..600500b 100644 | ||
3 | --- a/configure.ac | ||
4 | +++ b/configure.ac | ||
5 | @@ -523,13 +523,9 @@ dnl Uses --default-font-path if set, otherwise checks for /etc/X11/fontpath.d, | ||
6 | dnl otherwise uses standard subdirectories of FONTROOTDIR. When cross | ||
7 | dnl compiling, assume default font path uses standard FONTROOTDIR directories. | ||
8 | DEFAULT_FONT_PATH="${FONTMISCDIR}/,${FONTTTFDIR}/,${FONTOTFDIR}/,${FONTTYPE1DIR}/,${FONT100DPIDIR}/,${FONT75DPIDIR}/" | ||
9 | -if test "$cross_compiling" != yes; then | ||
10 | - AC_CHECK_FILE([${sysconfdir}/X11/fontpath.d], | ||
11 | - [DEFAULT_FONT_PATH='catalogue:${sysconfdir}/X11/fontpath.d'], | ||
12 | - [case $host_os in | ||
13 | + case $host_os in | ||
14 | darwin*) DEFAULT_FONT_PATH="${DEFAULT_FONT_PATH},/Library/Fonts,/System/Library/Fonts" ;; | ||
15 | - esac]) | ||
16 | -fi | ||
17 | + esac | ||
18 | AC_ARG_WITH(default-font-path, AS_HELP_STRING([--with-default-font-path=PATH], [Comma separated list of font dirs]), | ||
19 | [ FONTPATH="$withval" ], | ||
20 | [ FONTPATH="${DEFAULT_FONT_PATH}" ]) | ||