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