python-pytablewriter: bump version to 0.17.2
[buildroot-gz.git] / boot / grub2 / 0002-grub-core-gettext-gettext.c-main_context-secondary_c.patch
blob94be0927106c6a9fb7b2cfd2888ccd8963a807e6
1 From f30c692c1f9ef0e93bee2b408a24baa017f1ca9d Mon Sep 17 00:00:00 2001
2 From: Vladimir Serbinenko <phcoder@gmail.com>
3 Date: Thu, 7 Nov 2013 01:01:47 +0100
4 Subject: [PATCH] * grub-core/gettext/gettext.c (main_context),
5 (secondary_context): Define after defining type and not before.
7 [Thomas: backport from upstream commit
8 f30c692c1f9ef0e93bee2b408a24baa017f1ca9d, and remove ChangeLog
9 modifications to avoid conflicts.]
10 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 ---
12 grub-core/gettext/gettext.c | 4 ++--
13 2 files changed, 7 insertions(+), 2 deletions(-)
15 diff --git a/grub-core/gettext/gettext.c b/grub-core/gettext/gettext.c
16 index df73570..4880cef 100644
17 --- a/grub-core/gettext/gettext.c
18 +++ b/grub-core/gettext/gettext.c
19 @@ -34,8 +34,6 @@ GRUB_MOD_LICENSE ("GPLv3+");
20 http://www.gnu.org/software/autoconf/manual/gettext/MO-Files.html .
23 -static struct grub_gettext_context main_context, secondary_context;
25 static const char *(*grub_gettext_original) (const char *s);
27 struct grub_gettext_msg
28 @@ -69,6 +67,8 @@ struct grub_gettext_context
29 struct grub_gettext_msg *grub_gettext_msg_list;
32 +static struct grub_gettext_context main_context, secondary_context;
34 #define MO_MAGIC_NUMBER 0x950412de
36 static grub_err_t
37 --
38 2.7.4