+++ /dev/null
---- gettext-0.12.1/gettext-runtime/intl/relocatable.c 2003-04-07 12:42:24.000000000 +0200
-+++ gettext-0.12.1.good/gettext-runtime/intl/relocatable.c 2003-08-26 14:32:46.000000000 +0200
-@@ -38,6 +38,9 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <windef.h>
-+#include <wtypes.h>
-+#include <winbase.h>
-
- #ifdef NO_XMALLOC
- # define xmalloc malloc
---- gettext-0.16/gettext-tools/gnulib-lib/canonicalize.c 2003-05-09 12:12:06.000000000 +0200
-+++ gettext-0.16.good/gettext-tools/gnulib-lib/canonicalize.c 2003-08-26 15:22:31.000000000 +0200
-@@ -46,6 +46,7 @@
- #endif
-
- #include <sys/stat.h>
-+#define lstat stat
-
- #include <errno.h>
- #ifndef _LIBC
---- gettext-0.16/gettext-tools/gnulib-lib/mkdtemp.c 2003-01-14 14:36:07.000000000 +0100
-+++ gettext-0.16.good/gettext-tools/gnulib-lib/mkdtemp.c 2003-08-26 15:08:12.000000000 +0200
-@@ -167,7 +167,7 @@
- v /= 62;
- XXXXXX[5] = letters[v % 62];
-
-- fd = __mkdir (tmpl, S_IRUSR | S_IWUSR | S_IXUSR);
-+ fd = __mkdir (tmpl);
-
- if (fd >= 0)
- {
---- gettext-0.16/gettext-tools/gnulib-lib/relocatable.c 2003-04-07 12:42:24.000000000 +0200
-+++ gettext-0.16.good/gettext-tools/gnulib-lib/relocatable.c 2003-08-26 14:08:11.000000000 +0200
-@@ -38,6 +38,8 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <windef.h>
-+#include <winbase.h>
-
- #ifdef NO_XMALLOC
- # define xmalloc malloc
---- gettext-0.16/gettext-tools/gnulib-lib/xreadlink.c 2003-02-28 13:19:46.000000000 +0100
-+++ gettext-0.16.good/gettext-tools/gnulib-lib/xreadlink.c 2003-08-26 15:14:40.000000000 +0200
-@@ -66,6 +68,11 @@
- If realloc fails, or if the link value is longer than SIZE_MAX :-),
- give a diagnostic and exit. */
-
-+int readlink(const char *path, char *buf, size_t bufsiz)
-+{
-+ return -1;
-+}
-+
- char *
- xreadlink (char const *filename)
- {
---- gettext-0.16/Makefile.am.orig 2006-10-09 13:55:41.000000000 +0200
-+++ gettext-0.16/Makefile.am 2006-10-30 07:48:28.900392000 +0100
-@@ -19,7 +19,7 @@
-
- AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
-
--SUBDIRS = gnulib-local gettext-runtime gettext-tools autoconf-lib-link
-+SUBDIRS = gnulib-local gettext-runtime autoconf-lib-link
-
- EXTRA_DIST = \
- version.sh PACKAGING ChangeLog.0 autogen.sh \
+++ /dev/null
-2006-12-21 Bruno Haible <bruno@...>
- * localename.c (SUBLANG_BENGALI_INDIA): Change value from 0 to 1.
- (SUBLANG_BENGALI_BANGLADESH): Change value from 1 to 2.
- (SUBLANG_PUNJABI_INDIA): Change value from 0 to 1.
- (SUBLANG_PUNJABI_PAKISTAN): Change value from 1 to 2.
- (SUBLANG_ROMANIAN_ROMANIA): Change value from 0 to 1.
- (SUBLANG_ROMANIAN_MOLDOVA): Change value from 1 to 2.
- (SUBLANG_SINDHI_INDIA): Remove macro.
- (SUBLANG_SINDHI_AFGHANISTAN): New macro.
- (SUBLANG_TAMAZIGHT_ALGERIA_LATIN): Renamed from
- SUBLANG_TAMAZIGHT_LATIN.
- (SUBLANG_TIGRINYA_ETHIOPIA): Change value from 0 to 1.
- (SUBLANG_TIGRINYA_ERITREA): Change value from 1 to 2.
- (_nl_locale_name_default): Update.
- Reported by Bob Rossi
-
---- gettext-0.16.1/gettext-runtime/intl/localename.c.orig 2006-11-27 18:02:00.000000000 +0100
-+++ gettext-0.16.1/gettext-runtime/intl/localename.c 2007-02-20 21:54:46.368009590 +0100
-@@ -494,10 +494,10 @@
- # define SUBLANG_AZERI_CYRILLIC 0x02
- # endif
- # ifndef SUBLANG_BENGALI_INDIA
--# define SUBLANG_BENGALI_INDIA 0x00
-+# define SUBLANG_BENGALI_INDIA 0x01
- # endif
- # ifndef SUBLANG_BENGALI_BANGLADESH
--# define SUBLANG_BENGALI_BANGLADESH 0x01
-+# define SUBLANG_BENGALI_BANGLADESH 0x02
- # endif
- # ifndef SUBLANG_CHINESE_MACAU
- # define SUBLANG_CHINESE_MACAU 0x05
-@@ -590,16 +590,16 @@
- # define SUBLANG_NEPALI_INDIA 0x02
- # endif
- # ifndef SUBLANG_PUNJABI_INDIA
--# define SUBLANG_PUNJABI_INDIA 0x00
-+# define SUBLANG_PUNJABI_INDIA 0x01
- # endif
- # ifndef SUBLANG_PUNJABI_PAKISTAN
--# define SUBLANG_PUNJABI_PAKISTAN 0x01
-+# define SUBLANG_PUNJABI_PAKISTAN 0x02
- # endif
- # ifndef SUBLANG_ROMANIAN_ROMANIA
--# define SUBLANG_ROMANIAN_ROMANIA 0x00
-+# define SUBLANG_ROMANIAN_ROMANIA 0x01
- # endif
- # ifndef SUBLANG_ROMANIAN_MOLDOVA
--# define SUBLANG_ROMANIAN_MOLDOVA 0x01
-+# define SUBLANG_ROMANIAN_MOLDOVA 0x02
- # endif
- # ifndef SUBLANG_SERBIAN_LATIN
- # define SUBLANG_SERBIAN_LATIN 0x02
-@@ -607,12 +607,12 @@
- # ifndef SUBLANG_SERBIAN_CYRILLIC
- # define SUBLANG_SERBIAN_CYRILLIC 0x03
- # endif
--# ifndef SUBLANG_SINDHI_INDIA
--# define SUBLANG_SINDHI_INDIA 0x00
--# endif
- # ifndef SUBLANG_SINDHI_PAKISTAN
- # define SUBLANG_SINDHI_PAKISTAN 0x01
- # endif
-+# ifndef SUBLANG_SINDHI_AFGHANISTAN
-+# define SUBLANG_SINDHI_AFGHANISTAN 0x02
-+# endif
- # ifndef SUBLANG_SPANISH_GUATEMALA
- # define SUBLANG_SPANISH_GUATEMALA 0x04
- # endif
-@@ -670,14 +670,14 @@
- # ifndef SUBLANG_TAMAZIGHT_ARABIC
- # define SUBLANG_TAMAZIGHT_ARABIC 0x01
- # endif
--# ifndef SUBLANG_TAMAZIGHT_LATIN
--# define SUBLANG_TAMAZIGHT_LATIN 0x02
-+# ifndef SUBLANG_TAMAZIGHT_ALGERIA_LATIN
-+# define SUBLANG_TAMAZIGHT_ALGERIA_LATIN 0x02
- # endif
- # ifndef SUBLANG_TIGRINYA_ETHIOPIA
--# define SUBLANG_TIGRINYA_ETHIOPIA 0x00
-+# define SUBLANG_TIGRINYA_ETHIOPIA 0x01
- # endif
- # ifndef SUBLANG_TIGRINYA_ERITREA
--# define SUBLANG_TIGRINYA_ERITREA 0x01
-+# define SUBLANG_TIGRINYA_ERITREA 0x02
- # endif
- # ifndef SUBLANG_URDU_PAKISTAN
- # define SUBLANG_URDU_PAKISTAN 0x01
-@@ -1378,8 +1378,8 @@
- case LANG_SINDHI:
- switch (sub)
- {
-- case SUBLANG_SINDHI_INDIA: return "sd_IN";
- case SUBLANG_SINDHI_PAKISTAN: return "sd_PK";
-+ case SUBLANG_SINDHI_AFGHANISTAN: return "sd_AF";
- }
- return "sd";
- case LANG_SINHALESE: return "si_LK";
-@@ -1432,7 +1432,7 @@
- {
- /* FIXME: Adjust this when Tamazight locales appear on Unix. */
- case SUBLANG_TAMAZIGHT_ARABIC: return "ber_MA@arabic";
-- case SUBLANG_TAMAZIGHT_LATIN: return "ber_MA@latin";
-+ case SUBLANG_TAMAZIGHT_ALGERIA_LATIN: return "ber_DZ@latin";
- }
- return "ber_MA";
- case LANG_TAMIL: