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