Package: gettext / 0.19.3-2

02-msgfmt-default-little-endian Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From: Santiago Vila <sanvila@debian.org>
Subject: Modified msgfmt to always create little endian .mo files
Bug-Debian: http://bugs.debian.org/671257
X-Debian-version: 0.18.1.1-8

--- a/gettext-tools/src/msgfmt.c
+++ b/gettext-tools/src/msgfmt.c
@@ -233,6 +233,9 @@
   /* Set default value for global variables.  */
   alignment = DEFAULT_OUTPUT_ALIGNMENT;
 
+  /* Changed by Debian: Default is little-endian, not native */
+  byteswap = ENDIANNESS;
+
   /* Set program name for messages.  */
   set_program_name (argv[0]);
   error_print_progname = maybe_print_progname;