Blame SOURCES/0193-Add-Fedora-location-of-DejaVu-SANS-font.patch

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