docs: fix doc generation

This fixes the build.
This commit is contained in:
Ray Strode 2013-03-12 15:31:13 -04:00
parent 59724c9c83
commit e0c8125869
2 changed files with 22 additions and 0 deletions

21
grub-2.00-fix-docs.patch Normal file
View File

@ -0,0 +1,21 @@
From 40d6b00fa48ae9c1cecf143da5c6061f6ffcb719 Mon Sep 17 00:00:00 2001
From: Ray Strode <rstrode@redhat.com
Date: Tue, 12 Mar 2013 15:23:02 -0400
Subject: [PATCH] Fix docs
I think the doc generation tools got stricter, so fix up the .texi file
to work.
diff --git a/docs/grub-dev.texi b/docs/grub-dev.texi
--- a/docs/grub-dev.texi
+++ b/docs/grub-dev.texi
@@ -1394,8 +1394,8 @@ grub_video_blit_glyph (&glyph, color, 0,
@node Bitmap API
@section Bitmap API
-@itemize
@subsection grub_video_bitmap_create
+@itemize
@item Prototype:
@example
grub_err_t grub_video_bitmap_create (struct grub_video_bitmap **bitmap, unsigned int width, unsigned int height, enum grub_video_blit_format blit_format)

View File

@ -80,6 +80,7 @@ Patch36: grub-2.00-search-for-specific-config-file-for-netboot.patch
Patch37: grub2-add-bootpath-device-to-the-list.patch
Patch38: grub-2.00-add-GRUB-DISABLE-SUBMENU-option.patch
Patch39: grub-2.00-support-bls-config.patch
Patch40: grub-2.00-fix-docs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)