]> git.pld-linux.org Git - packages/grub2.git/commitdiff
Fix #include for a freetype header file
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 30 Nov 2013 11:44:19 +0000 (12:44 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 30 Nov 2013 11:44:19 +0000 (12:44 +0100)
Should fix: 'fatal error: freetype/ftsynth.h: No such file or directory'

grub2-freetype_include.patch [new file with mode: 0644]
grub2.spec

diff --git a/grub2-freetype_include.patch b/grub2-freetype_include.patch
new file mode 100644 (file)
index 0000000..185ce70
--- /dev/null
@@ -0,0 +1,12 @@
+diff -dur grub-2.00.orig/util/grub-mkfont.c grub-2.00/util/grub-mkfont.c
+--- grub-2.00.orig/util/grub-mkfont.c  2012-03-10 13:17:57.000000000 +0100
++++ grub-2.00/util/grub-mkfont.c       2013-11-30 12:42:43.623031541 +0100
+@@ -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[] = { 
index d4d3d85a601106999abe7641cac4f365469b8505..1cbc13632345d59d1a406e2b3b2502cc4bfc8d71 100644 (file)
@@ -77,6 +77,7 @@ Patch19:      search-for-specific-config-file-for-netboot.patch
 Patch20:       ignore-kernel-symlinks.patch
 Patch21:       choose-preferred-initrd.patch
 Patch22:       %{name}-cfg.patch
+Patch23:       %{name}-freetype_include.patch
 URL:           http://www.gnu.org/software/grub/
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake >= 1:1.11.1-1
@@ -306,6 +307,7 @@ Motyw starfield dla GRUB-a.
 %patch20 -p1
 %patch21 -p1
 %patch22 -p0
+%patch23 -p1
 
 %build
 # if gold is used then grub doesn't even boot
This page took 0.156043 seconds and 4 git commands to generate.