Mercurial > mxe-octave
annotate src/msvc-gettext-1.patch @ 5893:53a6c7df43f8
Mesa 3D: Update to version 21.1.8.
* src/mesa.mk: Update version and checksum.
* src/mesa-2-uninitialized.patch: Remove file.
* dist-files.mk: Remove file from list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 16 Sep 2021 22:37:45 +0200 |
parents | 67bcfe6539c7 |
children |
rev | line source |
---|---|
3285
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
1 diff -ur gettext-0.18.3.1-orig/gettext-runtime/gnulib-lib/unistd.in.h gettext-0.18.3.1/gettext-runtime/gnulib-lib/unistd.in.h |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
2 --- gettext-0.18.3.1-orig/gettext-runtime/gnulib-lib/unistd.in.h 2013-08-15 12:24:01 -0400 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
3 +++ gettext-0.18.3.1/gettext-runtime/gnulib-lib/unistd.in.h 2013-11-04 17:59:39 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
4 @@ -115,7 +115,7 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
5 the getopt module only in gettext-tools/gnulib-lib/, not in |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
6 gettext-tools/libgettextpo/, but there is only a single |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
7 GNULIB_UNISTD_H_GETOPT variable for both. */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
8 -#if @GNULIB_UNISTD_H_GETOPT@ && !defined GTPO_CONFIG_H && !defined __GLIBC__ && !defined _GL_SYSTEM_GETOPT |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
9 +#if @GNULIB_UNISTD_H_GETOPT@ && !defined GTPO_CONFIG_H && !defined __GLIBC__ && !defined _GL_SYSTEM_GETOPT && !defined _MSC_VER |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
10 # define __need_getopt |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
11 # include <getopt.h> |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
12 #endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
13 diff -ur gettext-0.18.3.1-orig/gettext-runtime/intl/export.h gettext-0.18.3.1/gettext-runtime/intl/export.h |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
14 --- gettext-0.18.3.1-orig/gettext-runtime/intl/export.h 2012-12-09 20:59:06 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
15 +++ gettext-0.18.3.1/gettext-runtime/intl/export.h 2013-11-04 17:58:54 -0500 |
3061
f8299bb6c872
Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
16 @@ -2,5 +2,13 @@ |
f8299bb6c872
Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
17 #if @HAVE_VISIBILITY@ && BUILDING_LIBINTL |
f8299bb6c872
Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
18 #define LIBINTL_DLL_EXPORTED __attribute__((__visibility__("default"))) |
f8299bb6c872
Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
19 #else |
f8299bb6c872
Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
20 +#ifdef _MSC_VER |
f8299bb6c872
Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
21 +#ifdef BUILDING_LIBINTL |
f8299bb6c872
Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
22 +#define LIBINTL_DLL_EXPORTED __declspec(dllexport) |
f8299bb6c872
Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
23 +#else |
f8299bb6c872
Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
24 +#define LIBINTL_DLL_EXPORTED __declspec(dllimport) |
f8299bb6c872
Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
25 +#endif |
f8299bb6c872
Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
26 +#else |
f8299bb6c872
Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
27 #define LIBINTL_DLL_EXPORTED |
f8299bb6c872
Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
28 #endif |
f8299bb6c872
Initial support for native MSVC compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
diff
changeset
|
29 +#endif |
3285
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
30 diff -ur gettext-0.18.3.1-orig/gettext-tools/gnulib-lib/ostream.h gettext-0.18.3.1/gettext-tools/gnulib-lib/ostream.h |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
31 --- gettext-0.18.3.1-orig/gettext-tools/gnulib-lib/ostream.h 2013-08-15 12:32:44 -0400 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
32 +++ gettext-0.18.3.1/gettext-tools/gnulib-lib/ostream.h 2013-11-04 19:05:15 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
33 @@ -108,6 +108,13 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
34 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
35 #endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
36 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
37 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
38 +extern "C" { |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
39 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
40 +extern const typeinfo_t ostream_typeinfo; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
41 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
42 +}; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
43 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
44 extern const typeinfo_t ostream_typeinfo; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
45 #define ostream_SUPERCLASSES &ostream_typeinfo, NULL |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
46 #define ostream_SUPERCLASSES_LENGTH (1 + 1) |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
47 diff -ur gettext-0.18.3.1-orig/gettext-tools/gnulib-lib/stdbool.in.h gettext-0.18.3.1/gettext-tools/gnulib-lib/stdbool.in.h |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
48 --- gettext-0.18.3.1-orig/gettext-tools/gnulib-lib/stdbool.in.h 2013-08-15 12:25:00 -0400 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
49 +++ gettext-0.18.3.1/gettext-tools/gnulib-lib/stdbool.in.h 2013-11-04 19:30:41 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
50 @@ -67,7 +67,9 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
51 #endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
52 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
53 #ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
54 -# define _Bool bool |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
55 +# ifndef _MSC_VER |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
56 +# define _Bool bool |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
57 +# endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
58 # define bool bool |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
59 #else |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
60 # if defined __BEOS__ && !defined __HAIKU__ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
61 diff -ur gettext-0.18.3.1-orig/gettext-tools/gnulib-lib/styled-ostream.h gettext-0.18.3.1/gettext-tools/gnulib-lib/styled-ostream.h |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
62 --- gettext-0.18.3.1-orig/gettext-tools/gnulib-lib/styled-ostream.h 2013-08-15 12:32:45 -0400 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
63 +++ gettext-0.18.3.1/gettext-tools/gnulib-lib/styled-ostream.h 2013-11-04 19:15:11 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
64 @@ -132,6 +132,13 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
65 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
66 #endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
67 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
68 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
69 +extern "C" { |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
70 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
71 +extern DLL_VARIABLE const typeinfo_t styled_ostream_typeinfo; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
72 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
73 +}; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
74 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
75 extern DLL_VARIABLE const typeinfo_t styled_ostream_typeinfo; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
76 #define styled_ostream_SUPERCLASSES &styled_ostream_typeinfo, ostream_SUPERCLASSES |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
77 #define styled_ostream_SUPERCLASSES_LENGTH (1 + ostream_SUPERCLASSES_LENGTH) |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
78 diff -ur gettext-0.18.3.1-orig/gettext-tools/gnulib-lib/unistd.in.h gettext-0.18.3.1/gettext-tools/gnulib-lib/unistd.in.h |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
79 --- gettext-0.18.3.1-orig/gettext-tools/gnulib-lib/unistd.in.h 2013-08-15 12:25:01 -0400 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
80 +++ gettext-0.18.3.1/gettext-tools/gnulib-lib/unistd.in.h 2013-11-04 18:00:01 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
81 @@ -115,7 +115,7 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
82 the getopt module only in gettext-tools/gnulib-lib/, not in |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
83 gettext-tools/libgettextpo/, but there is only a single |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
84 GNULIB_UNISTD_H_GETOPT variable for both. */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
85 -#if @GNULIB_UNISTD_H_GETOPT@ && !defined GTPO_CONFIG_H && !defined __GLIBC__ && !defined _GL_SYSTEM_GETOPT |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
86 +#if @GNULIB_UNISTD_H_GETOPT@ && !defined GTPO_CONFIG_H && !defined __GLIBC__ && !defined _GL_SYSTEM_GETOPT && !defined _MSC_VER |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
87 # define __need_getopt |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
88 # include <getopt.h> |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
89 #endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
90 diff -ur gettext-0.18.3.1-orig/gettext-tools/libgettextpo/Makefile.in gettext-0.18.3.1/gettext-tools/libgettextpo/Makefile.in |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
91 --- gettext-0.18.3.1-orig/gettext-tools/libgettextpo/Makefile.in 2013-08-15 12:31:14 -0400 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
92 +++ gettext-0.18.3.1/gettext-tools/libgettextpo/Makefile.in 2013-11-04 20:09:54 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
93 @@ -2446,7 +2446,7 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
94 sf=`echo "$$f" | sed -e 's,\\.[^.]*$$,,'`.c; \ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
95 test -f $$sf || sf=$(srcdir)/$$sf; \ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
96 of=`echo "$$f" | sed -e 's,^.*/,,' -e 's,\\.[^.]*$$,,'`.$(OBJEXT); \ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
97 - $(COMPILE) -c $$sf || { rm -f config.h; exit 1; }; \ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
98 + $(COMPILE) -c $$sf 2>&1 1>/dev/null || { rm -f config.h; exit 1; }; \ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
99 sh ./exported.sh $$of 1>&5; \ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
100 rm -f $$of `echo "$$of" | sed -e 's,\\.$(OBJEXT)$$,.lo,'`; \ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
101 ;; \ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
102 diff -ur gettext-0.18.3.1-orig/gettext-tools/src/hostname.c gettext-0.18.3.1/gettext-tools/src/hostname.c |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
103 --- gettext-0.18.3.1-orig/gettext-tools/src/hostname.c 2012-12-09 20:59:06 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
104 +++ gettext-0.18.3.1/gettext-tools/src/hostname.c 2013-11-04 19:57:29 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
105 @@ -46,7 +46,9 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
106 #endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
107 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
108 /* Get MAXHOSTNAMELEN. */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
109 +#ifdef HAVE_SYS_PARAM_H |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
110 #include <sys/param.h> |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
111 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
112 #ifndef MAXHOSTNAMELEN |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
113 # define MAXHOSTNAMELEN 64 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
114 #endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
115 diff -ur gettext-0.18.3.1-orig/gettext-tools/src/lang-table.h gettext-0.18.3.1/gettext-tools/src/lang-table.h |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
116 --- gettext-0.18.3.1-orig/gettext-tools/src/lang-table.h 2012-12-09 20:59:06 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
117 +++ gettext-0.18.3.1/gettext-tools/src/lang-table.h 2013-11-04 19:51:49 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
118 @@ -26,10 +26,16 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
119 const char *english; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
120 }; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
121 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
122 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
123 +extern "C" { |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
124 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
125 extern struct language_table_entry language_table[]; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
126 extern const size_t language_table_size; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
127 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
128 extern struct language_table_entry language_variant_table[]; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
129 extern const size_t language_variant_table_size; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
130 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
131 +}; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
132 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
133 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
134 #endif /* _LANG_TABLE_H */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
135 diff -ur gettext-0.18.3.1-orig/gettext-tools/src/read-po.h gettext-0.18.3.1/gettext-tools/src/read-po.h |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
136 --- gettext-0.18.3.1-orig/gettext-tools/src/read-po.h 2012-12-09 20:59:06 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
137 +++ gettext-0.18.3.1/gettext-tools/src/read-po.h 2013-11-04 19:36:01 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
138 @@ -21,6 +21,12 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
139 #include "read-catalog-abstract.h" |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
140 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
141 /* Describes a .po / .pot file parser. */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
142 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
143 +extern "C" { |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
144 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
145 extern DLL_VARIABLE const struct catalog_input_format input_format_po; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
146 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
147 +}; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
148 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
149 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
150 #endif /* _READ_PO_H */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
151 diff -ur gettext-0.18.3.1-orig/gettext-tools/src/read-properties.h gettext-0.18.3.1/gettext-tools/src/read-properties.h |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
152 --- gettext-0.18.3.1-orig/gettext-tools/src/read-properties.h 2012-12-09 20:59:06 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
153 +++ gettext-0.18.3.1/gettext-tools/src/read-properties.h 2013-11-04 19:36:33 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
154 @@ -21,6 +21,12 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
155 #include "read-catalog-abstract.h" |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
156 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
157 /* Describes a .properties file parser. */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
158 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
159 +extern "C" { |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
160 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
161 extern DLL_VARIABLE const struct catalog_input_format input_format_properties; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
162 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
163 +}; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
164 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
165 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
166 #endif /* _READ_PROPERTIES_H */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
167 diff -ur gettext-0.18.3.1-orig/gettext-tools/src/read-stringtable.h gettext-0.18.3.1/gettext-tools/src/read-stringtable.h |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
168 --- gettext-0.18.3.1-orig/gettext-tools/src/read-stringtable.h 2012-12-09 20:59:06 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
169 +++ gettext-0.18.3.1/gettext-tools/src/read-stringtable.h 2013-11-04 19:41:03 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
170 @@ -21,6 +21,12 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
171 #include "read-catalog-abstract.h" |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
172 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
173 /* Describes a .strings file parser. */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
174 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
175 +extern "C" { |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
176 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
177 extern DLL_VARIABLE const struct catalog_input_format input_format_stringtable; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
178 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
179 +}; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
180 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
181 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
182 #endif /* _READ_STRINGTABLE_H */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
183 diff -ur gettext-0.18.3.1-orig/gettext-tools/src/write-po.h gettext-0.18.3.1/gettext-tools/src/write-po.h |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
184 --- gettext-0.18.3.1-orig/gettext-tools/src/write-po.h 2012-12-09 20:59:06 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
185 +++ gettext-0.18.3.1/gettext-tools/src/write-po.h 2013-11-04 19:45:28 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
186 @@ -63,7 +63,13 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
187 message_print_style_escape (bool flag); |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
188 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
189 /* Describes a PO file in .po syntax. */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
190 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
191 +extern "C" { |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
192 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
193 extern DLL_VARIABLE const struct catalog_output_format output_format_po; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
194 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
195 +}; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
196 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
197 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
198 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
199 #ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
200 diff -ur gettext-0.18.3.1-orig/gettext-tools/src/write-properties.h gettext-0.18.3.1/gettext-tools/src/write-properties.h |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
201 --- gettext-0.18.3.1-orig/gettext-tools/src/write-properties.h 2012-12-09 20:59:06 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
202 +++ gettext-0.18.3.1/gettext-tools/src/write-properties.h 2013-11-04 19:45:58 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
203 @@ -21,6 +21,12 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
204 #include "write-catalog.h" |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
205 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
206 /* Describes a PO file in Java .properties syntax. */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
207 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
208 +extern "C" { |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
209 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
210 extern DLL_VARIABLE const struct catalog_output_format output_format_properties; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
211 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
212 +}; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
213 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
214 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
215 #endif /* _WRITE_PROPERTIES_H */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
216 diff -ur gettext-0.18.3.1-orig/gettext-tools/src/write-stringtable.h gettext-0.18.3.1/gettext-tools/src/write-stringtable.h |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
217 --- gettext-0.18.3.1-orig/gettext-tools/src/write-stringtable.h 2012-12-09 20:59:06 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
218 +++ gettext-0.18.3.1/gettext-tools/src/write-stringtable.h 2013-11-04 19:47:57 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
219 @@ -21,6 +21,12 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
220 #include "write-catalog.h" |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
221 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
222 /* Describes a PO file in .strings syntax. */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
223 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
224 +extern "C" { |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
225 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
226 extern DLL_VARIABLE const struct catalog_output_format output_format_stringtable; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
227 +#ifdef __cplusplus |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
228 +}; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
229 +#endif |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
230 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
231 #endif /* _WRITE_STRINGTABLE_H */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
232 diff -ur gettext-0.18.3.1-orig/gettext-tools/src/x-lua.c gettext-0.18.3.1/gettext-tools/src/x-lua.c |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
233 --- gettext-0.18.3.1-orig/gettext-tools/src/x-lua.c 2013-08-12 08:07:22 -0400 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
234 +++ gettext-0.18.3.1/gettext-tools/src/x-lua.c 2013-11-04 19:43:20 -0500 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
235 @@ -281,9 +281,10 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
236 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
237 if (c == '[') |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
238 { |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
239 + int esigns = 0; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
240 + |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
241 c = phase1_getc (); |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
242 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
243 - int esigns = 0; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
244 while (c == '=') |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
245 { |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
246 esigns++; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
247 @@ -477,6 +478,8 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
248 int c; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
249 int c2; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
250 int c_start; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
251 + int esigns = 0; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
252 + int esigns2 = 0; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
253 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
254 if (phase3_pushback_length) |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
255 { |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
256 @@ -707,7 +710,6 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
257 c = phase1_getc (); |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
258 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
259 /* Count the number of equal signs. */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
260 - int esigns = 0; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
261 while (c == '=') |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
262 { |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
263 esigns++; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
264 @@ -742,7 +744,6 @@ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
265 c = phase1_getc (); |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
266 |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
267 /* Count the number of equal signs. */ |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
268 - int esigns2 = 0; |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
269 while (c == '=') |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
270 { |
67bcfe6539c7
[MSVC] update gettext compilation.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
3061
diff
changeset
|
271 esigns2++; |