Build failure on MinGW32 with libgpg-error 1.5

Werner Koch wk at gnupg.org
Mon Oct 29 12:37:08 CET 2007


On Sat, 27 Oct 2007 23:02, simon at josefsson.org said:

> reported it but I couldn't find the report now.  So in case I never
> reported it, or if it was forgotten, here is a complete report.  In case
> I reported this and my suggested patch was incorrect, perhaps we could
> restart any old discussion.

Thanks.

I another project (GpgOL) I applied this fix:

2007-08-21  Werner Koch  <wk at g10code.com>

	* w32-gettext.c (SUBLANG_BENGALI_BANGLADESH): Fix to 2 as per MSDN.
	(SUBLANG_PUNJABI_PAKISTAN): Remove as it is not in MSDN.
	(SUBLANG_ROMANIAN_MOLDOVA): Remove as it is not in MSDN.
	(SUBLANG_ROMANIAN_ROMANIA): Change to value 1 as per MSDN.

The diff towards libgpg-error is:

@@ -522,10 +521,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
@@ -618,16 +617,10 @@
 # define SUBLANG_NEPALI_INDIA 0x02
 # endif
 # ifndef SUBLANG_PUNJABI_INDIA
-# define SUBLANG_PUNJABI_INDIA 0x00
-# endif
-# ifndef SUBLANG_PUNJABI_PAKISTAN
-# define SUBLANG_PUNJABI_PAKISTAN 0x01
+# define SUBLANG_PUNJABI_INDIA 0x01
 # endif
 # ifndef SUBLANG_ROMANIAN_ROMANIA
-# define SUBLANG_ROMANIAN_ROMANIA 0x00
-# endif
-# ifndef SUBLANG_ROMANIAN_MOLDOVA
-# define SUBLANG_ROMANIAN_MOLDOVA 0x01
+# define SUBLANG_ROMANIAN_ROMANIA 0x01
 # endif
 # ifndef SUBLANG_SERBIAN_LATIN
 # define SUBLANG_SERBIAN_LATIN 0x02
@@ -1056,7 +1049,6 @@
       switch (sub)
        {
        case SUBLANG_PUNJABI_INDIA: return "pa_IN"; /* Gurmukhi script */
-       case SUBLANG_PUNJABI_PAKISTAN: return "pa_PK"; /* Arabic script */
        }
       return "pa";
     case LANG_RHAETO_ROMANCE: return "rm_CH";
@@ -1064,7 +1056,6 @@
       switch (sub)
        {
        case SUBLANG_ROMANIAN_ROMANIA: return "ro_RO";
-       case SUBLANG_ROMANIAN_MOLDOVA: return "ro_MD";
        }
       return "ro";
     case LANG_RUSSIAN:

I'll apply that to libgpg-error and see whether I can do a release
today.


Shalom-Salam,

   Werner


-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gcrypt-devel mailing list