3e40727
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
357489e
From: fluteze <fluteze@gmail.com>
357489e
Date: Sat, 27 Nov 2021 10:54:44 -0600
357489e
Subject: [PATCH] Add Fedora location of DejaVu SANS font
357489e
357489e
In Fedora 35, and possibly earlier, grub would fail to configure with a
357489e
complaint about DejaVu being "not found" even though it was installed.
357489e
The DejaVu sans font search path is updated to reflect the
357489e
distribution's current install path.
357489e
357489e
Signed-off-by: Erik Edwards <fluteze@gmail.com>
357489e
[rharwood@redhat.com: slight commit message edits]
357489e
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
357489e
---
357489e
 configure.ac | 2 +-
357489e
 1 file changed, 1 insertion(+), 1 deletion(-)
357489e
357489e
diff --git a/configure.ac b/configure.ac
3d407d2
index ab0d326f00..40c4338bce 100644
357489e
--- a/configure.ac
357489e
+++ b/configure.ac
3d407d2
@@ -1784,7 +1784,7 @@ fi
357489e
 
357489e
 if test x"$starfield_excuse" = x; then
357489e
    for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do
357489e
-     for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/dejavu /usr/share/fonts/truetype; do
357489e
+     for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/dejavu /usr/share/fonts/truetype /usr/share/fonts/dejavu-sans-fonts; do
357489e
         if test -f "$dir/DejaVuSans.$ext"; then
357489e
           DJVU_FONT_SOURCE="$dir/DejaVuSans.$ext"
357489e
           break 2