From fbd8dca681b06b39599071cbc28e964c8dc05358 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Thu, 3 May 2012 17:02:37 +0200 Subject: [PATCH] * po/Makefile.in.in: Make msgfmt output in little-endian in accordance with GRUB expectance. --- ChangeLog | 5 +++++ po/Makefile.in.in | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5a02e65cc..dbe0c4e73 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-05-03 Vladimir Serbinenko + + * po/Makefile.in.in: Make msgfmt output in little-endian in accordance + with GRUB expectance. + 2012-05-03 Vladimir Serbinenko * util/grub-fstest.c (cmd_cmp): Compare directories recursively. diff --git a/po/Makefile.in.in b/po/Makefile.in.in index 9e549917a..83a3220d6 100644 --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -84,13 +84,13 @@ CATALOGS = @CATALOGS@ .po.mo: @echo "$(MSGFMT) -c -o $@ $<"; \ - $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ + $(MSGFMT) --endianness=little -c -o t-$@ $< && mv t-$@ $@ .po.gmo: @lang=`echo $* | sed -e 's,.*/,,'`; \ test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ - echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \ - cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo + echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) --endianness=little -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \ + cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) --endianness=little -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo .sin.sed: sed -e '/^#/d' $< > t-$@