| 1 | | --- gettext/gettext-runtime/intl/localename.c.orig 2006-11-22 12:14:26.041794800 +0000 |
|---|
| 2 | | +++ gettext/gettext-runtime/intl/localename.c 2006-11-22 12:25:50.425554800 +0000 |
|---|
| 3 | | @@ -494,10 +494,10 @@ |
|---|
| 4 | | # define SUBLANG_AZERI_CYRILLIC 0x02 |
|---|
| 5 | | # endif |
|---|
| 6 | | # ifndef SUBLANG_BENGALI_INDIA |
|---|
| 7 | | -# define SUBLANG_BENGALI_INDIA 0x00 |
|---|
| 8 | | +# define SUBLANG_BENGALI_INDIA 0x01 |
|---|
| 9 | | # endif |
|---|
| 10 | | # ifndef SUBLANG_BENGALI_BANGLADESH |
|---|
| 11 | | -# define SUBLANG_BENGALI_BANGLADESH 0x01 |
|---|
| 12 | | +# define SUBLANG_BENGALI_BANGLADESH 0x02 |
|---|
| 13 | | # endif |
|---|
| 14 | | # ifndef SUBLANG_CHINESE_MACAU |
|---|
| 15 | | # define SUBLANG_CHINESE_MACAU 0x05 |
|---|
| 16 | | @@ -590,16 +590,16 @@ |
|---|
| 17 | | # define SUBLANG_NEPALI_INDIA 0x02 |
|---|
| 18 | | # endif |
|---|
| 19 | | # ifndef SUBLANG_PUNJABI_INDIA |
|---|
| 20 | | -# define SUBLANG_PUNJABI_INDIA 0x00 |
|---|
| 21 | | +# define SUBLANG_PUNJABI_INDIA 0x01 |
|---|
| 22 | | # endif |
|---|
| 23 | | # ifndef SUBLANG_PUNJABI_PAKISTAN |
|---|
| 24 | | -# define SUBLANG_PUNJABI_PAKISTAN 0x01 |
|---|
| 25 | | +# define SUBLANG_PUNJABI_PAKISTAN 0x02 |
|---|
| 26 | | # endif |
|---|
| 27 | | # ifndef SUBLANG_ROMANIAN_ROMANIA |
|---|
| 28 | | -# define SUBLANG_ROMANIAN_ROMANIA 0x00 |
|---|
| 29 | | +# define SUBLANG_ROMANIAN_ROMANIA 0x01 |
|---|
| 30 | | # endif |
|---|
| 31 | | # ifndef SUBLANG_ROMANIAN_MOLDOVA |
|---|
| 32 | | -# define SUBLANG_ROMANIAN_MOLDOVA 0x01 |
|---|
| 33 | | +# define SUBLANG_ROMANIAN_MOLDOVA 0x02 |
|---|
| 34 | | # endif |
|---|
| 35 | | # ifndef SUBLANG_SERBIAN_LATIN |
|---|
| 36 | | # define SUBLANG_SERBIAN_LATIN 0x02 |
|---|
| 37 | | @@ -608,10 +608,10 @@ |
|---|
| 38 | | # define SUBLANG_SERBIAN_CYRILLIC 0x03 |
|---|
| 39 | | # endif |
|---|
| 40 | | # ifndef SUBLANG_SINDHI_INDIA |
|---|
| 41 | | -# define SUBLANG_SINDHI_INDIA 0x00 |
|---|
| 42 | | +# define SUBLANG_SINDHI_INDIA 0x01 |
|---|
| 43 | | # endif |
|---|
| 44 | | # ifndef SUBLANG_SINDHI_PAKISTAN |
|---|
| 45 | | -# define SUBLANG_SINDHI_PAKISTAN 0x01 |
|---|
| 46 | | +# define SUBLANG_SINDHI_PAKISTAN 0x02 |
|---|
| 47 | | # endif |
|---|
| 48 | | # ifndef SUBLANG_SPANISH_GUATEMALA |
|---|
| 49 | | # define SUBLANG_SPANISH_GUATEMALA 0x04 |
|---|
| 50 | | @@ -674,10 +674,10 @@ |
|---|
| 51 | | # define SUBLANG_TAMAZIGHT_LATIN 0x02 |
|---|
| 52 | | # endif |
|---|
| 53 | | # ifndef SUBLANG_TIGRINYA_ETHIOPIA |
|---|
| 54 | | -# define SUBLANG_TIGRINYA_ETHIOPIA 0x00 |
|---|
| 55 | | +# define SUBLANG_TIGRINYA_ETHIOPIA 0x01 |
|---|
| 56 | | # endif |
|---|
| 57 | | # ifndef SUBLANG_TIGRINYA_ERITREA |
|---|
| 58 | | -# define SUBLANG_TIGRINYA_ERITREA 0x01 |
|---|
| 59 | | +# define SUBLANG_TIGRINYA_ERITREA 0x02 |
|---|
| 60 | | # endif |
|---|
| 61 | | # ifndef SUBLANG_URDU_PAKISTAN |
|---|
| 62 | | # define SUBLANG_URDU_PAKISTAN 0x01 |
|---|
| | 1 | --- gettext-0.17/gettext-runtime/intl/Makefile.in 2007-11-04 21:21:12.000000000 +0000 |
|---|
| | 2 | +++ gettext/gettext-runtime/intl/Makefile.in 2008-03-07 18:14:53.000000000 +0000 |
|---|
| | 3 | @@ -280,15 +280,7 @@ |
|---|
| | 4 | # so that they work with the sed-3.02 that is shipped with MSYS. We can use |
|---|
| | 5 | # GNU bash's $'\n' syntax to obtain such a newline. |
|---|
| | 6 | libintl.res: $(srcdir)/libintl.rc |
|---|
| | 7 | - nl=$$'\n'; \ |
|---|
| | 8 | - sed_extract_major='/^[0-9]/{'$${nl}'s/^\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \ |
|---|
| | 9 | - sed_extract_minor='/^[0-9][0-9]*[.][0-9]/{'$${nl}'s/^[0-9]*[.]\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \ |
|---|
| | 10 | - sed_extract_subminor='/^[0-9][0-9]*[.][0-9][0-9]*[.][0-9]/{'$${nl}'s/^[0-9]*[.][0-9]*[.]\([0-9]*\).*/\1/p'$${nl}q$${nl}'}'$${nl}'c\'$${nl}0$${nl}q; \ |
|---|
| | 11 | - $(WINDRES) \ |
|---|
| | 12 | - "-DPACKAGE_VERSION_STRING=\\\"$(VERSION)\\\"" \ |
|---|
| | 13 | - "-DPACKAGE_VERSION_MAJOR="`echo '$(VERSION)' | sed -n -e "$$sed_extract_major"` \ |
|---|
| | 14 | - "-DPACKAGE_VERSION_MINOR="`echo '$(VERSION)' | sed -n -e "$$sed_extract_minor"` \ |
|---|
| | 15 | - "-DPACKAGE_VERSION_SUBMINOR="`echo '$(VERSION)' | sed -n -e "$$sed_extract_subminor"` \ |
|---|
| | 16 | + $(WINDRES) `$(top_srcdir)/../windows/windres-options --escape $(VERSION)`\ |
|---|
| | 17 | -i $(srcdir)/libintl.rc -o libintl.res --output-format=coff |
|---|
| | 18 | |
|---|
| | 19 | ref-add.sed: $(srcdir)/ref-add.sin |
|---|