]> git.pld-linux.org Git - packages/crossmingw32-gettext.git/blame - crossmingw32-gettext.patch
- cleanup, separated -static,-dll
[packages/crossmingw32-gettext.git] / crossmingw32-gettext.patch
CommitLineData
6a3f6222 1--- gettext-0.12.1/gettext-runtime/intl/relocatable.c 2003-04-07 12:42:24.000000000 +0200
2+++ gettext-0.12.1.good/gettext-runtime/intl/relocatable.c 2003-08-26 14:32:46.000000000 +0200
3@@ -38,6 +38,9 @@
4 #include <stdio.h>
5 #include <stdlib.h>
6 #include <string.h>
7+#include <windef.h>
8+#include <wtypes.h>
9+#include <winbase.h>
10
11 #ifdef NO_XMALLOC
12 # define xmalloc malloc
f05a745c
JB
13--- gettext-0.16/gettext-tools/gnulib-lib/canonicalize.c 2003-05-09 12:12:06.000000000 +0200
14+++ gettext-0.16.good/gettext-tools/gnulib-lib/canonicalize.c 2003-08-26 15:22:31.000000000 +0200
6a3f6222 15@@ -46,6 +46,7 @@
16 #endif
17
18 #include <sys/stat.h>
19+#define lstat stat
20
21 #include <errno.h>
22 #ifndef _LIBC
f05a745c
JB
23--- gettext-0.16/gettext-tools/gnulib-lib/mkdtemp.c 2003-01-14 14:36:07.000000000 +0100
24+++ gettext-0.16.good/gettext-tools/gnulib-lib/mkdtemp.c 2003-08-26 15:08:12.000000000 +0200
6a3f6222 25@@ -167,7 +167,7 @@
26 v /= 62;
27 XXXXXX[5] = letters[v % 62];
28
29- fd = __mkdir (tmpl, S_IRUSR | S_IWUSR | S_IXUSR);
30+ fd = __mkdir (tmpl);
31
32 if (fd >= 0)
33 {
f05a745c
JB
34--- gettext-0.16/gettext-tools/gnulib-lib/relocatable.c 2003-04-07 12:42:24.000000000 +0200
35+++ gettext-0.16.good/gettext-tools/gnulib-lib/relocatable.c 2003-08-26 14:08:11.000000000 +0200
6a3f6222 36@@ -38,6 +38,8 @@
37 #include <stdio.h>
38 #include <stdlib.h>
39 #include <string.h>
40+#include <windef.h>
41+#include <winbase.h>
42
43 #ifdef NO_XMALLOC
44 # define xmalloc malloc
f05a745c
JB
45--- gettext-0.16/gettext-tools/gnulib-lib/xreadlink.c 2003-02-28 13:19:46.000000000 +0100
46+++ gettext-0.16.good/gettext-tools/gnulib-lib/xreadlink.c 2003-08-26 15:14:40.000000000 +0200
6a3f6222 47@@ -66,6 +68,11 @@
48 If realloc fails, or if the link value is longer than SIZE_MAX :-),
49 give a diagnostic and exit. */
50
51+int readlink(const char *path, char *buf, size_t bufsiz)
52+{
53+ return -1;
54+}
55+
56 char *
57 xreadlink (char const *filename)
58 {
f05a745c
JB
59--- gettext-0.16/Makefile.am.orig 2006-10-09 13:55:41.000000000 +0200
60+++ gettext-0.16/Makefile.am 2006-10-30 07:48:28.900392000 +0100
6a3f6222 61@@ -19,7 +19,7 @@
62
63 AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
64
f05a745c
JB
65-SUBDIRS = gnulib-local gettext-runtime gettext-tools autoconf-lib-link
66+SUBDIRS = gnulib-local gettext-runtime autoconf-lib-link
6a3f6222 67
68 EXTRA_DIST = \
6a5f70e0 69 version.sh PACKAGING ChangeLog.0 autogen.sh \
This page took 0.038738 seconds and 4 git commands to generate.