Commits

Uelsk8s  committed 5e4529b

add patch grub2

  • Participants
  • Parent commits 31bd9a1

Comments (0)

Files changed (2)

File var/vabs/grub2/src/grub2.SlackBuild

 zcat $CWD/patches/txtHRnXiHYUrM.txt.gz | patch -p0 --verbose || exit 1
 # Support DejaVuSansMono font by default:
 zcat $CWD/patches/grub.dejavusansmono.gfxterm.font.diff.gz | patch -p1 --verbose || exi$
+patch -p1 <$CWD/patches/101-freetype2_fix_mkfont.patch
 
 #-----------------------------------------------------
 

File var/vabs/grub2/src/patches/101-freetype2_fix_mkfont.patch

+--- a/util/grub-mkfont.c
++++ b/util/grub-mkfont.c
+@@ -39,7 +39,7 @@
+ #include FT_FREETYPE_H
+ #include FT_TRUETYPE_TAGS_H
+ #include FT_TRUETYPE_TABLES_H
+-#include <freetype/ftsynth.h>
++#include FT_SYNTHESIS_H
+ 
+ #undef __FTERRORS_H__
+ #define FT_ERROR_START_LIST   const char *ft_errmsgs[] = {