mirror of
https://git.proxmox.com/git/grub2
synced 2025-10-19 11:04:47 +00:00

We need to clear `grub_errno` after handling a memory allocation failure, otherwise we mistakenly report "out of memory" shortly afterwards.
24 lines
1011 B
Diff
24 lines
1011 B
Diff
From 973e040bdeddcf366a7a45bb5d9f77e06f4784c7 Mon Sep 17 00:00:00 2001
|
|
From: Fabian Greffrath <fabian@greffrath.com>
|
|
Date: Tue, 19 May 2020 12:19:26 +0200
|
|
Subject: add /u/s/fonts/truetype/dejavu to the DejaVu fonts search paths
|
|
|
|
Patch-Name: dejavu-font-path.patch
|
|
---
|
|
configure.ac | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index b3fb7437e..22c6cf7ac 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -1719,7 +1719,7 @@ fi
|
|
|
|
if test x"$starfield_excuse" = x; then
|
|
for ext in pcf pcf.gz bdf bdf.gz ttf ttf.gz; do
|
|
- 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
|
|
+ for dir in . /usr/src /usr/share/fonts/X11/misc /usr/share/fonts/truetype/dejavu /usr/share/fonts/truetype/ttf-dejavu /usr/share/fonts/dejavu /usr/share/fonts/truetype; do
|
|
if test -f "$dir/DejaVuSans.$ext"; then
|
|
DJVU_FONT_SOURCE="$dir/DejaVuSans.$ext"
|
|
break 2
|