]> git.lyx.org Git - features.git/blob - development/Win32/patches/msvc/gettext-0.15.patch
set eol-style
[features.git] / development / Win32 / patches / msvc / gettext-0.15.patch
1 diff -riwBu -Xex gettext-0.15\gettext-runtime\config.h.msvc gettext-0.15-modified\gettext-runtime\config.h.msvc
2 --- gettext-0.15\gettext-runtime\config.h.msvc  Fri Jul 21 16:30:08 2006
3 +++ gettext-0.15-modified\gettext-runtime\config.h.msvc Sat Oct 21 23:37:47 2006
4 @@ -1,5 +1,7 @@
5  /* config.h.in.  Generated from configure.ac by autoheader.  */
6  
7 +#define EXEEXT '.exe'
8 +
9  /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
10     systems. This function is required for `alloca.c' support on those systems.
11     */
12 diff -riwBu -Xex gettext-0.15\gettext-runtime\intl\Makefile.msvc gettext-0.15-modified\gettext-runtime\intl\Makefile.msvc
13 --- gettext-0.15\gettext-runtime\intl\Makefile.msvc     Mon Aug 01 13:14:02 2005
14 +++ gettext-0.15-modified\gettext-runtime\intl\Makefile.msvc    Fri Oct 20 12:23:09 2006
15 @@ -204,6 +204,7 @@
16  # intl.dll and intl.lib are created together.
17  intl.lib : $(OBJECTS) $(RESOURCES)
18         $(CC) $(MFLAGS) $(DEBUGFLAGS) -LD $(OBJECTS) $(libdir)\iconv.lib $(RESOURCES) -Feintl.dll
19 +       mt.exe -manifest intl.dll.manifest -outputresource:intl.dll;2
20  
21  intl.res : $(srcdir)\..\windows\intl.rc
22         rc -Fo intl.res $(srcdir)\..\windows\intl.rc
23 diff -riwBu -Xex gettext-0.15\gettext-runtime\src\Makefile.msvc gettext-0.15-modified\gettext-runtime\src\Makefile.msvc
24 --- gettext-0.15\gettext-runtime\src\Makefile.msvc      Thu Feb 10 17:49:08 2005
25 +++ gettext-0.15-modified\gettext-runtime\src\Makefile.msvc     Fri Oct 20 12:22:23 2006
26 @@ -107,12 +107,15 @@
27  
28  gettext.exe : $(gettext_OBJECTS)
29         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(gettext_OBJECTS) ..\lib\grt.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Fegettext.exe
30 +       mt.exe -manifest gettext.exe.manifest -outputresource:gettext.exe;1
31  
32  ngettext.exe : $(ngettext_OBJECTS)
33         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(ngettext_OBJECTS) ..\lib\grt.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Fengettext.exe
34 +       mt.exe -manifest ngettext.exe.manifest -outputresource:ngettext.exe;1
35  
36  envsubst.exe : $(envsubst_OBJECTS)
37         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(ngettext_OBJECTS) ..\lib\grt.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Feenvsubst.exe
38 +       mt.exe -manifest envsubst.exe.manifest -outputresource:envsubst.exe;1
39  
40  install : all force
41         -mkdir $(prefix)
42 diff -riwBu -Xex gettext-0.15\gettext-tools\config.h.msvc gettext-0.15-modified\gettext-tools\config.h.msvc
43 --- gettext-0.15\gettext-tools\config.h.msvc    Fri Jul 21 16:30:18 2006
44 +++ gettext-0.15-modified\gettext-tools\config.h.msvc   Wed Oct 18 23:51:07 2006
45 @@ -1,5 +1,6 @@
46  /* config.h.in.  Generated from configure.ac by autoheader.  */
47  
48 +#define EXEEXT '.exe'
49  
50  /* Default value for alignment of strings in .mo file.  */
51  #define DEFAULT_OUTPUT_ALIGNMENT 1
52 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\addext.c gettext-0.15-modified\gettext-tools\lib\addext.c
53 --- gettext-0.15\gettext-tools\lib\addext.c     Mon Apr 24 13:17:08 2006
54 +++ gettext-0.15-modified\gettext-tools\lib\addext.c    Sat Oct 14 00:03:13 2006
55 @@ -43,7 +43,9 @@
56  # include <strings.h>
57  #endif
58  
59 +#ifdef HAVE_UNISTD_H
60  #include <unistd.h>
61 +#endif
62  
63  #include "basename.h"
64  
65 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\clean-temp.c gettext-0.15-modified\gettext-tools\lib\clean-temp.c
66 --- gettext-0.15\gettext-tools\lib\clean-temp.c Mon Jul 03 17:13:08 2006
67 +++ gettext-0.15-modified\gettext-tools\lib\clean-temp.c        Sat Oct 14 00:04:01 2006
68 @@ -28,7 +28,10 @@
69  #include <stdbool.h>
70  #include <stdlib.h>
71  #include <string.h>
72 +
73 +#ifdef HAVE_UNISTD_H
74  #include <unistd.h>
75 +#endif
76  
77  #include "error.h"
78  #include "fatal-signal.h"
79 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\copy-file.c gettext-0.15-modified\gettext-tools\lib\copy-file.c
80 --- gettext-0.15\gettext-tools\lib\copy-file.c  Mon Apr 24 13:17:08 2006
81 +++ gettext-0.15-modified\gettext-tools\lib\copy-file.c Sat Oct 14 00:05:52 2006
82 @@ -28,7 +28,10 @@
83  #include <fcntl.h>
84  #include <stddef.h>
85  #include <sys/stat.h>
86 +
87 +#ifdef HAVE_UNISTD_H
88  #include <unistd.h>
89 +#endif
90  
91  #if HAVE_UTIME || HAVE_UTIMES
92  # if HAVE_UTIME_H
93 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\execute.c gettext-0.15-modified\gettext-tools\lib\execute.c
94 --- gettext-0.15\gettext-tools\lib\execute.c    Mon Apr 24 13:17:08 2006
95 +++ gettext-0.15-modified\gettext-tools\lib\execute.c   Sat Oct 14 00:07:17 2006
96 @@ -29,7 +29,10 @@
97  #include <stdbool.h>
98  #include <stdlib.h>
99  #include <signal.h>
100 +
101 +#ifdef HAVE_UNISTD_H
102  #include <unistd.h>
103 +#endif
104  
105  #include "error.h"
106  #include "exit.h"
107 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\fatal-signal.c gettext-0.15-modified\gettext-tools\lib\fatal-signal.c
108 --- gettext-0.15\gettext-tools\lib\fatal-signal.c       Mon Apr 24 13:17:08 2006
109 +++ gettext-0.15-modified\gettext-tools\lib\fatal-signal.c      Sat Oct 14 00:07:42 2006
110 @@ -27,7 +27,10 @@
111  #include <stdbool.h>
112  #include <stdlib.h>
113  #include <signal.h>
114 +
115 +#ifdef HAVE_UNISTD_H
116  #include <unistd.h>
117 +#endif
118  
119  #include "xalloc.h"
120  
121 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\findprog.c gettext-0.15-modified\gettext-tools\lib\findprog.c
122 --- gettext-0.15\gettext-tools\lib\findprog.c   Mon Apr 24 13:17:08 2006
123 +++ gettext-0.15-modified\gettext-tools\lib\findprog.c  Sat Oct 14 00:08:03 2006
124 @@ -27,7 +27,10 @@
125  #include <stdbool.h>
126  #include <stdlib.h>
127  #include <string.h>
128 +
129 +#ifdef HAVE_UNISTD_H
130  #include <unistd.h>
131 +#endif
132  
133  #include "xalloc.h"
134  #include "pathname.h"
135 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\getopt_.h gettext-0.15-modified\gettext-tools\lib\getopt_.h
136 --- gettext-0.15\gettext-tools\lib\getopt_.h    Mon Apr 24 13:17:08 2006
137 +++ gettext-0.15-modified\gettext-tools\lib\getopt_.h   Fri Oct 13 23:13:47 2006
138 @@ -42,7 +42,9 @@
139  #if defined __GETOPT_PREFIX && !defined __need_getopt
140  # include <stdlib.h>
141  # include <stdio.h>
142 +#ifdef HAVE_UNISTD_H
143  # include <unistd.h>
144 +#endif
145  # undef __need_getopt
146  # undef getopt
147  # undef getopt_long
148 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\gettext.h gettext-0.15-modified\gettext-tools\lib\gettext.h
149 --- gettext-0.15\gettext-tools\lib\gettext.h    Fri Jun 09 22:29:10 2006
150 +++ gettext-0.15-modified\gettext-tools\lib\gettext.h   Sat Oct 14 00:28:04 2006
151 @@ -142,8 +142,10 @@
152  
153  #include <string.h>
154  
155 +#ifndef _MSC_VER
156  #define _LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS \
157    (__GNUC__ >= 3 || defined __cplusplus)
158 +#endif
159  
160  #if !_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS
161  #include <stdlib.h>
162 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\javacomp.c gettext-0.15-modified\gettext-tools\lib\javacomp.c
163 --- gettext-0.15\gettext-tools\lib\javacomp.c   Tue Jul 11 14:08:16 2006
164 +++ gettext-0.15-modified\gettext-tools\lib\javacomp.c  Sat Oct 14 00:08:25 2006
165 @@ -29,7 +29,11 @@
166  #include <stdio.h>
167  #include <stdlib.h>
168  #include <string.h>
169 +
170 +#ifdef HAVE_UNISTD_H
171  #include <unistd.h>
172 +#endif
173 +
174  #include <sys/types.h>
175  #include <sys/stat.h>
176  
177 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\mkdtemp.c gettext-0.15-modified\gettext-tools\lib\mkdtemp.c
178 --- gettext-0.15\gettext-tools\lib\mkdtemp.c    Fri Jun 30 16:17:32 2006
179 +++ gettext-0.15-modified\gettext-tools\lib\mkdtemp.c   Sat Oct 14 00:10:09 2006
180 @@ -46,7 +46,9 @@
181  # include <inttypes.h>
182  #endif
183  
184 +#ifdef HAVE_UNISTD_H
185  #include <unistd.h>
186 +#endif
187  
188  #if HAVE_GETTIMEOFDAY || _LIBC
189  # if HAVE_SYS_TIME_H || _LIBC
190 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\pathmax.h gettext-0.15-modified\gettext-tools\lib\pathmax.h
191 --- gettext-0.15\gettext-tools\lib\pathmax.h    Mon Apr 24 13:17:08 2006
192 +++ gettext-0.15-modified\gettext-tools\lib\pathmax.h   Sat Oct 14 00:05:25 2006
193 @@ -18,7 +18,9 @@
194  #ifndef _PATHMAX_H
195  # define _PATHMAX_H
196  
197 +#ifdef HAVE_UNISTD_H
198  # include <unistd.h>
199 +#endif
200  
201  /* Non-POSIX BSD systems might have gcc's limits.h, which doesn't define
202     PATH_MAX but might cause redefinition warnings when sys/param.h is
203 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\pipe.c gettext-0.15-modified\gettext-tools\lib\pipe.c
204 --- gettext-0.15\gettext-tools\lib\pipe.c       Mon Apr 24 13:17:08 2006
205 +++ gettext-0.15-modified\gettext-tools\lib\pipe.c      Sat Oct 14 00:06:14 2006
206 @@ -28,7 +28,10 @@
207  #include <fcntl.h>
208  #include <stdlib.h>
209  #include <signal.h>
210 +
211 +#ifdef HAVE_UNISTD_H
212  #include <unistd.h>
213 +#endif
214  
215  #include "error.h"
216  #include "exit.h"
217 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\pipe.h gettext-0.15-modified\gettext-tools\lib\pipe.h
218 --- gettext-0.15\gettext-tools\lib\pipe.h       Mon Apr 24 13:17:08 2006
219 +++ gettext-0.15-modified\gettext-tools\lib\pipe.h      Sat Oct 14 00:06:34 2006
220 @@ -21,7 +21,11 @@
221  
222  /* Get pid_t.  */
223  #include <stdlib.h>
224 +
225 +#ifdef HAVE_UNISTD_H
226  #include <unistd.h>
227 +#endif
228 +
229  #include <sys/types.h>
230  
231  #include <stdbool.h>
232 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\progreloc.c gettext-0.15-modified\gettext-tools\lib\progreloc.c
233 --- gettext-0.15\gettext-tools\lib\progreloc.c  Wed May 17 12:12:44 2006
234 +++ gettext-0.15-modified\gettext-tools\lib\progreloc.c Sat Oct 21 23:39:19 2006
235 @@ -313,7 +313,7 @@
236                  the filenames may have undergone a case conversion since
237                  they were packaged.  In other words, EXEEXT may be ".exe"
238                  on one system and ".EXE" on another.  */
239 -             static const char exeext[] = EXEEXT;
240 +             static const char exeext = EXEEXT;
241               const char *s1 = argv0 + argv0_len - exeext_len;
242               const char *s2 = exeext;
243               for (; *s1 != '\0'; s1++, s2++)
244 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\safe-read.c gettext-0.15-modified\gettext-tools\lib\safe-read.c
245 --- gettext-0.15\gettext-tools\lib\safe-read.c  Mon Apr 24 13:17:08 2006
246 +++ gettext-0.15-modified\gettext-tools\lib\safe-read.c Sat Oct 14 00:09:37 2006
247 @@ -29,7 +29,10 @@
248  
249  /* Get ssize_t.  */
250  #include <sys/types.h>
251 +
252 +#ifdef HAVE_UNISTD_H
253  #include <unistd.h>
254 +#endif
255  
256  #include <errno.h>
257  
258 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\unsetenv.c gettext-0.15-modified\gettext-tools\lib\unsetenv.c
259 --- gettext-0.15\gettext-tools\lib\unsetenv.c   Sat Jun 17 17:51:52 2006
260 +++ gettext-0.15-modified\gettext-tools\lib\unsetenv.c  Sat Oct 14 00:10:34 2006
261 @@ -27,7 +27,10 @@
262  
263  #include <stdlib.h>
264  #include <string.h>
265 +
266 +#ifdef HAVE_UNISTD_H
267  #include <unistd.h>
268 +#endif
269  
270  #if !_LIBC
271  # define __environ     environ
272 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\wait-process.h gettext-0.15-modified\gettext-tools\lib\wait-process.h
273 --- gettext-0.15\gettext-tools\lib\wait-process.h       Mon Apr 24 13:17:08 2006
274 +++ gettext-0.15-modified\gettext-tools\lib\wait-process.h      Sat Oct 14 00:06:56 2006
275 @@ -21,7 +21,11 @@
276  
277  /* Get pid_t.  */
278  #include <stdlib.h>
279 +
280 +#ifdef HAVE_UNISTD_H
281  #include <unistd.h>
282 +#endif
283 +
284  #include <sys/types.h>
285  
286  #include <stdbool.h>
287 diff -riwBu -Xex gettext-0.15\gettext-tools\lib\xvasprintf.c gettext-0.15-modified\gettext-tools\lib\xvasprintf.c
288 --- gettext-0.15\gettext-tools\lib\xvasprintf.c Tue May 09 19:01:24 2006
289 +++ gettext-0.15-modified\gettext-tools\lib\xvasprintf.c        Wed Oct 18 22:21:39 2006
290 @@ -22,6 +22,13 @@
291  /* Specification.  */
292  #include "xvasprintf.h"
293  
294 +#ifndef va_copy
295 +
296 +/* Assumes typical stack machine */
297 +#define va_copy(dst, src) ((void)((dst) = (src)))
298 +
299 +#endif 
300 +
301  #include <errno.h>
302  #include <limits.h>
303  #include <string.h>
304 diff -riwBu -Xex gettext-0.15\gettext-tools\src\Makefile.msvc gettext-0.15-modified\gettext-tools\src\Makefile.msvc
305 --- gettext-0.15\gettext-tools\src\Makefile.msvc        Wed Mar 29 13:29:20 2006
306 +++ gettext-0.15-modified\gettext-tools\src\Makefile.msvc       Fri Oct 20 12:20:56 2006
307 @@ -122,14 +122,18 @@
308    write-stringtable.obj \
309    write-po.obj \
310    msgl-ascii.obj \
311 +  msgl-check.obj \
312    msgl-iconv.obj \
313    msgl-equal.obj \
314    msgl-cat.obj \
315    msgl-english.obj \
316 +  msgl-fsearch.obj \
317    file-list.obj \
318    msgl-charset.obj \
319    po-time.obj \
320 -  plural.obj \
321 +  po-xerror.obj \
322 +  plural-exp.obj \
323 +  plural-eval.obj \
324    plural-table.obj \
325    format.obj \
326    format-c.obj \
327 @@ -224,6 +228,9 @@
328  msgl-ascii.obj : msgl-ascii.c
329         $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c msgl-ascii.c
330  
331 +msgl-check.obj : msgl-check.c
332 +       $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c msgl-check.c
333 +
334  msgl-iconv.obj : msgl-iconv.c
335         $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c msgl-iconv.c
336  
337 @@ -245,8 +252,11 @@
338  po-time.obj : po-time.c
339         $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c po-time.c
340  
341 -plural.obj : plural.c
342 -       $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c plural.c
343 +po-xerror.obj : po-xerror.c
344 +       $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c po-xerror.c
345 +
346 +plural-exp.obj : plural-exp.c
347 +       $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c plural-exp.c
348  
349  plural-table.obj : plural-table.c
350         $(CC) $(INCLUDES) $(CFLAGS) $(PICFLAGS) -c plural-table.c
351 @@ -322,6 +332,7 @@
352  # gettextsrc.dll and gettextsrc.lib are created together.
353  gettextsrc.lib : ..\windows\gettextsrc.def $(OBJECTS) $(RESOURCES)
354         $(CC) $(MFLAGS) $(DEBUGFLAGS) -LD ..\windows\gettextsrc.def $(OBJECTS) ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(RESOURCES) -Fegettextsrc.dll
355 +       mt.exe -manifest gettextsrc.dll.manifest -outputresource:gettextsrc.dll;2
356  
357  gettextsrc.res : ../windows/gettextsrc.rc
358         rc -Fo gettextsrc.res ../windows/gettextsrc.rc
359 @@ -488,51 +499,67 @@
360  
361  msgcmp.exe : $(msgcmp_OBJECTS)
362         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgcmp_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgcmp.exe
363 +       mt.exe -manifest msgcmp.exe.manifest -outputresource:msgcmp.exe;1
364  
365  msgfmt.exe : $(msgfmt_OBJECTS)
366         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgfmt_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgfmt.exe
367 +       mt.exe -manifest msgfmt.exe.manifest -outputresource:msgfmt.exe;1       
368  
369  msgmerge.exe : $(msgmerge_OBJECTS)
370         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgmerge_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgmerge.exe
371 +       mt.exe -manifest msgmerge.exe.manifest -outputresource:msgmerge.exe;1   
372  
373  msgunfmt.exe : $(msgunfmt_OBJECTS)
374         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgunfmt_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgunfmt.exe
375 +       mt.exe -manifest msgunfmt.exe.manifest -outputresource:msgunfmt.exe;1   
376  
377  xgettext.exe : $(xgettext_OBJECTS)
378         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(xgettext_OBJECTS) ..\libuniname\uniname.lib gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Fexgettext.exe
379 +       mt.exe -manifest xgettext.exe.manifest -outputresource:xgettext.exe;1           
380  
381  msgattrib.exe : $(msgattrib_OBJECTS)
382         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgattrib_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgattrib.exe
383 +       mt.exe -manifest msgattrib.exe.manifest -outputresource:msgattrib.exe;1
384  
385  msgcat.exe : $(msgcat_OBJECTS)
386         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgcat_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgcat.exe
387 +       mt.exe -manifest msgcat.exe.manifest -outputresource:msgcat.exe;1       
388  
389  msgcomm.exe : $(msgcomm_OBJECTS)
390         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgcomm_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgcomm.exe
391 +       mt.exe -manifest msgcomm.exe.manifest -outputresource:msgcomm.exe;1     
392  
393  msgconv.exe : $(msgconv_OBJECTS)
394         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgconv_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgconv.exe
395 +       mt.exe -manifest msgconv.exe.manifest -outputresource:msgconv.exe;1     
396  
397  msgen.exe : $(msgen_OBJECTS)
398         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgen_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgen.exe
399 +       mt.exe -manifest msgen.exe.manifest -outputresource:msgen.exe;1 
400  
401  msgexec.exe : $(msgexec_OBJECTS)
402         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgexec_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgexec.exe
403 +       mt.exe -manifest msgexec.exe.manifest -outputresource:msgexec.exe;1     
404  
405  msgfilter.exe : $(msgfilter_OBJECTS)
406         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msgfilter_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsgfilter.exe
407 +       mt.exe -manifest msgfilter.exe.manifest -outputresource:msgfilter.exe;1 
408  
409  msggrep.exe : $(msggrep_OBJECTS)
410         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msggrep_OBJECTS) ..\libgrep\grep.lib gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsggrep.exe
411 +       mt.exe -manifest msggrep.exe.manifest -outputresource:msggrep.exe;1     
412  
413  msginit.exe : $(msginit_OBJECTS)
414         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msginit_OBJECTS) ..\intl\localename.obj gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsginit.exe
415 +       mt.exe -manifest msginit.exe.manifest -outputresource:msginit.exe;1     
416  
417  msguniq.exe : $(msguniq_OBJECTS)
418         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(msguniq_OBJECTS) gettextsrc.lib ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Femsguniq.exe
419 +       mt.exe -manifest msguniq.exe.manifest -outputresource:msguniq.exe;1     
420  
421  recode-sr-latin.exe : $(recode_sr_latin_OBJECTS)
422         $(CC) $(MFLAGS) $(DEBUGFLAGS) $(recode_sr_latin_OBJECTS) ..\lib\gettextlib.lib ..\intl\intl.lib $(libdir)\iconv.lib $(LDADD) -Ferecode-sr-latin.exe
423 +       mt.exe -manifest recode-sr-latin.exe.manifest -outputresource:recode-sr-latin.exe;1
424  
425  # Compilation rules for gettextpo.lib objects, with $(PICFLAGS).
426  
427 diff -riwBu -Xex gettext-0.15\gettext-tools\src\msgattrib.c gettext-0.15-modified\gettext-tools\src\msgattrib.c
428 --- gettext-0.15\gettext-tools\src\msgattrib.c  Mon Apr 03 13:27:40 2006
429 +++ gettext-0.15-modified\gettext-tools\src\msgattrib.c Wed Oct 18 23:53:18 2006
430 @@ -147,7 +147,9 @@
431  
432    /* Set the text message domain.  */
433    bindtextdomain (PACKAGE, relocate (LOCALEDIR));
434 +#ifdef BISON_LOCALEDIR  
435    bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
436 +#endif
437    textdomain (PACKAGE);
438  
439    /* Ensure that write errors on stdout are detected.  */
440 diff -riwBu -Xex gettext-0.15\gettext-tools\src\msgcat.c gettext-0.15-modified\gettext-tools\src\msgcat.c
441 --- gettext-0.15\gettext-tools\src\msgcat.c     Mon Apr 03 13:27:40 2006
442 +++ gettext-0.15-modified\gettext-tools\src\msgcat.c    Wed Oct 18 23:53:18 2006
443 @@ -119,7 +119,9 @@
444  
445    /* Set the text message domain.  */
446    bindtextdomain (PACKAGE, relocate (LOCALEDIR));
447 +#ifdef BISON_LOCALEDIR  
448    bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
449 +#endif
450    textdomain (PACKAGE);
451  
452    /* Ensure that write errors on stdout are detected.  */
453 diff -riwBu -Xex gettext-0.15\gettext-tools\src\msgcmp.c gettext-0.15-modified\gettext-tools\src\msgcmp.c
454 --- gettext-0.15\gettext-tools\src\msgcmp.c     Mon Apr 03 13:27:40 2006
455 +++ gettext-0.15-modified\gettext-tools\src\msgcmp.c    Wed Oct 18 23:53:18 2006
456 @@ -90,7 +90,9 @@
457  
458    /* Set the text message domain.  */
459    bindtextdomain (PACKAGE, relocate (LOCALEDIR));
460 +#ifdef BISON_LOCALEDIR  
461    bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
462 +#endif
463    textdomain (PACKAGE);
464  
465    /* Ensure that write errors on stdout are detected.  */
466 diff -riwBu -Xex gettext-0.15\gettext-tools\src\msgcomm.c gettext-0.15-modified\gettext-tools\src\msgcomm.c
467 --- gettext-0.15\gettext-tools\src\msgcomm.c    Mon Apr 03 13:27:40 2006
468 +++ gettext-0.15-modified\gettext-tools\src\msgcomm.c   Wed Oct 18 23:53:18 2006
469 @@ -121,7 +121,9 @@
470  
471    /* Set the text message domain.  */
472    bindtextdomain (PACKAGE, relocate (LOCALEDIR));
473 +#ifdef BISON_LOCALEDIR  
474    bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
475 +#endif
476    textdomain (PACKAGE);
477  
478    /* Ensure that write errors on stdout are detected.  */
479 diff -riwBu -Xex gettext-0.15\gettext-tools\src\msgconv.c gettext-0.15-modified\gettext-tools\src\msgconv.c
480 --- gettext-0.15\gettext-tools\src\msgconv.c    Mon Apr 03 13:27:42 2006
481 +++ gettext-0.15-modified\gettext-tools\src\msgconv.c   Wed Oct 18 23:53:18 2006
482 @@ -111,7 +111,9 @@
483  
484    /* Set the text message domain.  */
485    bindtextdomain (PACKAGE, relocate (LOCALEDIR));
486 +#ifdef BISON_LOCALEDIR  
487    bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
488 +#endif
489    textdomain (PACKAGE);
490  
491    /* Ensure that write errors on stdout are detected.  */
492 diff -riwBu -Xex gettext-0.15\gettext-tools\src\msgen.c gettext-0.15-modified\gettext-tools\src\msgen.c
493 --- gettext-0.15\gettext-tools\src\msgen.c      Mon Apr 03 13:27:42 2006
494 +++ gettext-0.15-modified\gettext-tools\src\msgen.c     Wed Oct 18 23:53:18 2006
495 @@ -101,10 +100,11 @@
496    /* Set locale via LC_ALL.  */
497    setlocale (LC_ALL, "");
498  #endif
499 -
500    /* Set the text message domain.  */
501    bindtextdomain (PACKAGE, relocate (LOCALEDIR));
502 +#ifdef BISON_LOCALEDIR  
503    bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
504 +#endif
505    textdomain (PACKAGE);
506  
507    /* Ensure that write errors on stdout are detected.  */
508 diff -riwBu -Xex gettext-0.15\gettext-tools\src\msgexec.c gettext-0.15-modified\gettext-tools\src\msgexec.c
509 --- gettext-0.15\gettext-tools\src\msgexec.c    Tue May 02 14:28:34 2006
510 +++ gettext-0.15-modified\gettext-tools\src\msgexec.c   Wed Oct 18 23:53:18 2006
511 @@ -29,7 +29,10 @@
512  #include <stdlib.h>
513  #include <string.h>
514  #include <sys/types.h>
515 +
516 +#ifdef HAVE_UNISTD_H
517  #include <unistd.h>
518 +#endif
519  
520  #include "closeout.h"
521  #include "dir-list.h"
522 @@ -114,7 +117,9 @@
523  
524    /* Set the text message domain.  */
525    bindtextdomain (PACKAGE, relocate (LOCALEDIR));
526 +#ifdef BISON_LOCALEDIR  
527    bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
528 +#endif
529    textdomain (PACKAGE);
530  
531    /* Ensure that write errors on stdout are detected.  */
532 diff -riwBu -Xex gettext-0.15\gettext-tools\src\msgfilter.c gettext-0.15-modified\gettext-tools\src\msgfilter.c
533 --- gettext-0.15\gettext-tools\src\msgfilter.c  Mon May 22 14:15:32 2006
534 +++ gettext-0.15-modified\gettext-tools\src\msgfilter.c Wed Oct 18 23:53:18 2006
535 @@ -35,7 +35,10 @@
536  # include <sys/time.h>
537  #endif
538  
539 +#ifdef HAVE_UNISTD_H
540  #include <unistd.h>
541 +#endif
542 +
543  #if defined _MSC_VER || defined __MINGW32__
544  # include <io.h>
545  #endif
546 @@ -164,7 +167,9 @@
547  
548    /* Set the text message domain.  */
549    bindtextdomain (PACKAGE, relocate (LOCALEDIR));
550 +#ifdef BISON_LOCALEDIR  
551    bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
552 +#endif
553    textdomain (PACKAGE);
554  
555    /* Ensure that write errors on stdout are detected.  */
556 diff -riwBu -Xex gettext-0.15\gettext-tools\src\msgfmt.c gettext-0.15-modified\gettext-tools\src\msgfmt.c
557 --- gettext-0.15\gettext-tools\src\msgfmt.c     Tue May 02 14:28:34 2006
558 +++ gettext-0.15-modified\gettext-tools\src\msgfmt.c    Wed Oct 18 23:53:19 2006
559 @@ -28,6 +28,10 @@
560  #include <string.h>
561  #include <locale.h>
562  
563 +#ifdef _MSC_VER
564 +#define ENDIANNESS 0
565 +#endif
566 +
567  #include "closeout.h"
568  #include "dir-list.h"
569  #include "error.h"
570 @@ -217,7 +221,9 @@
571  
572    /* Set the text message domain.  */
573    bindtextdomain (PACKAGE, relocate (LOCALEDIR));
574 +#ifdef BISON_LOCALEDIR  
575    bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
576 +#endif
577    textdomain (PACKAGE);
578  
579    /* Ensure that write errors on stdout are detected.  */
580 diff -riwBu -Xex gettext-0.15\gettext-tools\src\msggrep.c gettext-0.15-modified\gettext-tools\src\msggrep.c
581 --- gettext-0.15\gettext-tools\src\msggrep.c    Mon Apr 24 13:17:08 2006
582 +++ gettext-0.15-modified\gettext-tools\src\msggrep.c   Wed Oct 18 23:53:19 2006
583 @@ -31,7 +31,10 @@
584  #include <stdlib.h>
585  #include <string.h>
586  
587 +#ifdef HAVE_UNISTD_H
588  #include <unistd.h>
589 +#endif
590 +
591  #if defined _MSC_VER || defined __MINGW32__
592  # include <io.h>
593  #endif
594 @@ -161,7 +164,9 @@
595  
596    /* Set the text message domain.  */
597    bindtextdomain (PACKAGE, relocate (LOCALEDIR));
598 +#ifdef BISON_LOCALEDIR  
599    bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
600 +#endif
601    textdomain (PACKAGE);
602  
603    /* Ensure that write errors on stdout are detected.  */
604 diff -riwBu -Xex gettext-0.15\gettext-tools\src\msginit.c gettext-0.15-modified\gettext-tools\src\msginit.c
605 --- gettext-0.15\gettext-tools\src\msginit.c    Fri Jun 30 16:34:40 2006
606 +++ gettext-0.15-modified\gettext-tools\src\msginit.c   Wed Oct 18 23:53:19 2006
607 @@ -37,7 +37,9 @@
608  # include <pwd.h>
609  #endif
610  
611 +#ifdef HAVE_UNISTD_H
612  #include <unistd.h>
613 +#endif
614  
615  #if HAVE_DIRENT_H
616  # include <dirent.h>
617 @@ -160,7 +162,9 @@
618  
619    /* Set the text message domain.  */
620    bindtextdomain (PACKAGE, relocate (LOCALEDIR));
621 +#ifdef BISON_LOCALEDIR  
622    bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
623 +#endif
624    textdomain (PACKAGE);
625  
626    /* Ensure that write errors on stdout are detected.  */
627 diff -riwBu -Xex gettext-0.15\gettext-tools\src\msgmerge.c gettext-0.15-modified\gettext-tools\src\msgmerge.c
628 --- gettext-0.15\gettext-tools\src\msgmerge.c   Mon Apr 03 13:27:42 2006
629 +++ gettext-0.15-modified\gettext-tools\src\msgmerge.c  Wed Oct 18 23:53:19 2006
630 @@ -170,7 +170,9 @@
631  
632    /* Set the text message domain.  */
633    bindtextdomain (PACKAGE, relocate (LOCALEDIR));
634 +#ifdef BISON_LOCALEDIR  
635    bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
636 +#endif
637    textdomain (PACKAGE);
638  
639    /* Ensure that write errors on stdout are detected.  */
640 diff -riwBu -Xex gettext-0.15\gettext-tools\src\msgunfmt.c gettext-0.15-modified\gettext-tools\src\msgunfmt.c
641 --- gettext-0.15\gettext-tools\src\msgunfmt.c   Mon Apr 03 13:27:42 2006
642 +++ gettext-0.15-modified\gettext-tools\src\msgunfmt.c  Wed Oct 18 23:53:19 2006
643 @@ -130,7 +130,9 @@
644  
645    /* Set the text message domain.  */
646    bindtextdomain (PACKAGE, relocate (LOCALEDIR));
647 +#ifdef BISON_LOCALEDIR  
648    bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
649 +#endif
650    textdomain (PACKAGE);
651  
652    /* Ensure that write errors on stdout are detected.  */
653 diff -riwBu -Xex gettext-0.15\gettext-tools\src\msguniq.c gettext-0.15-modified\gettext-tools\src\msguniq.c
654 --- gettext-0.15\gettext-tools\src\msguniq.c    Mon Apr 03 13:27:42 2006
655 +++ gettext-0.15-modified\gettext-tools\src\msguniq.c   Wed Oct 18 23:53:19 2006
656 @@ -114,7 +114,9 @@
657  
658    /* Set the text message domain.  */
659    bindtextdomain (PACKAGE, relocate (LOCALEDIR));
660 +#ifdef BISON_LOCALEDIR  
661    bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
662 +#endif
663    textdomain (PACKAGE);
664  
665    /* Ensure that write errors on stdout are detected.  */
666 diff -riwBu -Xex gettext-0.15\gettext-tools\src\write-mo.c gettext-0.15-modified\gettext-tools\src\write-mo.c
667 --- gettext-0.15\gettext-tools\src\write-mo.c   Thu Oct 06 13:08:06 2005
668 +++ gettext-0.15-modified\gettext-tools\src\write-mo.c  Sat Oct 14 01:02:50 2006
669 @@ -38,7 +38,12 @@
670  #include "gmo.h"
671  #include "hash-string.h"
672  
673 +#ifndef _MSC_VER
674  #include "byteswap.h"
675 +#else
676 +#include "byteswap_.h"
677 +#endif
678 +
679  #include "error.h"
680  #include "hash.h"
681  #include "message.h"
682 diff -riwBu -Xex gettext-0.15\gettext-tools\src\xgettext.c gettext-0.15-modified\gettext-tools\src\xgettext.c
683 --- gettext-0.15\gettext-tools\src\xgettext.c   Fri Jun 09 22:27:24 2006
684 +++ gettext-0.15-modified\gettext-tools\src\xgettext.c  Wed Oct 18 23:53:19 2006
685 @@ -293,7 +293,9 @@
686  
687    /* Set the text message domain.  */
688    bindtextdomain (PACKAGE, relocate (LOCALEDIR));
689 +#ifdef BISON_LOCALEDIR  
690    bindtextdomain ("bison-runtime", relocate (BISON_LOCALEDIR));
691 +#endif
692    textdomain (PACKAGE);
693  
694    /* Ensure that write errors on stdout are detected.  */
695 diff -riwBu -Xex gettext-0.15\gettext-tools\windows\gettextlib.def gettext-0.15-modified\gettext-tools\windows\gettextlib.def
696 --- gettext-0.15\gettext-tools\windows\gettextlib.def   Tue Feb 08 13:26:08 2005
697 +++ gettext-0.15-modified\gettext-tools\windows\gettextlib.def  Wed Oct 18 22:18:21 2006
698 @@ -40,7 +40,6 @@
699  create_pipe_bidi
700  create_pipe_in
701  create_pipe_out
702 -delete_hash
703  error
704  error_at_line
705  error_one_per_line
706 @@ -49,7 +48,6 @@
707  execute_csharp_program
708  execute_java_class
709  find_backup_file_name
710 -find_entry
711  find_in_path
712  freesa
713  fstrcmp
714 @@ -61,9 +59,6 @@
715  gnu_basename
716  gnu_mbswidth
717  gnu_stpncpy
718 -init_hash
719 -insert_entry
720 -iterate_table
721  locale_charset
722  mallocsa
723  maybe_print_progname
724 @@ -92,8 +87,6 @@
725  shell_quote_copy
726  shell_quote_length
727  stpcpy
728 -strcasecmp
729 -strncasecmp
730  u8_possible_linebreaks
731  u8_width_linebreaks
732  uc_width
733 @@ -110,3 +103,19 @@
734  xrealloc
735  xsetenv
736  xstrdup
737 +cleanup_temp_dir
738 +unregister_temp_subdir
739 +unregister_temp_file
740 +register_temp_subdir
741 +register_temp_file
742 +create_temp_dir
743 +hash_destroy
744 +hash_iterate
745 +hash_init
746 +proper_name
747 +proper_name_utf8
748 +hash_insert_entry
749 +hash_find_entry
750 +hash_set_value
751 +hash_iterate_modify
752 +iconv_string
753 diff -riwBu -Xex gettext-0.15\gettext-tools\windows\gettextsrc.def gettext-0.15-modified\gettext-tools\windows\gettextsrc.def
754 --- gettext-0.15\gettext-tools\windows\gettextsrc.def   Sat Feb 12 21:07:36 2005
755 +++ gettext-0.15-modified\gettext-tools\windows\gettextsrc.def  Wed Oct 18 22:19:25 2006
756 @@ -65,7 +65,6 @@
757  dir_list_nth
758  dir_list_restore
759  dir_list_save_reset
760 -extract_plural_expression
761  get_sysdep_c_format_directives
762  iconv_message_list
763  iconv_msgdomain_list
764 @@ -92,7 +91,6 @@
765  message_list_list_append
766  message_list_list_append_list
767  message_list_list_search
768 -message_list_list_search_fuzzy
769  message_list_prepend
770  message_list_remove_if_not
771  message_list_search
772 @@ -120,7 +118,6 @@
773  msgdomain_list_sort_by_msgid
774  msgdomain_list_sublist
775  open_po_file
776 -parse_plural_expression
777  po_callback_comment
778  po_callback_comment_filepos
779  po_callback_domain
780 @@ -157,3 +154,16 @@
781  string_list_init
782  string_list_join
783  string_list_member
784 +check_message_list
785 +parse_plural_expression
786 +plural_eval
787 +po_xerror
788 +extract_plural_expression
789 +message_fuzzy_index_alloc
790 +fuzzy_search_goal_function
791 +message_list_list_free
792 +po_charset_character_iterator
793 +get_python_format_unnamed_arg_count
794 +check_message
795 +textmode_xerror
796 +textmode_xerror2