diff --git a/grub2-2.0-no-png-in-texi.patch b/grub2-2.0-no-png-in-texi.patch new file mode 100644 index 0000000..b8b6058 --- /dev/null +++ b/grub2-2.0-no-png-in-texi.patch @@ -0,0 +1,25 @@ +From e3c5e7e3accaced35b3e3ee367068d14bbce91bf Mon Sep 17 00:00:00 2001 +From: Peter Jones +Date: Thu, 10 May 2012 16:31:29 -0400 +Subject: [PATCH] Specifying .png in @image doesn't work - leaving it out + +--- + docs/grub-dev.texi | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi +index 51b4787..ddde5e9 100644 +--- a/docs/grub-dev.texi ++++ b/docs/grub-dev.texi +@@ -1689,7 +1689,7 @@ right edges of two adjacent glyphs. The @strong{device width} field determines + the effective leading value that is used to render the font. + + @end itemize +-@image{font_char_metrics,,,,.png} ++@image{font_char_metrics,,,,} + + An illustration of how the various font metrics apply to characters. + +-- +1.7.10.1 + diff --git a/grub2.spec b/grub2.spec index 2579b75..e4d71b5 100644 --- a/grub2.spec +++ b/grub2.spec @@ -41,6 +41,7 @@ Patch4: grub-1.99-Fix-tests-of-zeroed-partition.patch Patch5: grub-1.99-ppc-terminfo.patch Patch6: grub-2.00-beta4-wronly.patch Patch7: grub-2.00~beta4-add-support-for-PowerMac-HFS-partitions.patch +Patch8: grub2-2.0-no-png-in-texi.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -111,9 +112,6 @@ git add . git commit -a -q -m "%{tarversion} baseline." git am %{patches} -# Specifying .png in @image doesn't work - leaving it out -sed -i 's,\.png,,g' docs/grub-dev.texi - %build %ifarch %{efi} cd grub-efi-%{tarversion}