Your message dated Tue, 07 Jun 2011 16:03:47 +0000
with message-id <[email protected]>
and subject line Bug#626437: fixed in mingw-w64 1.0+20110428-1
has caused the Debian Bug report #626437,
regarding mingw-w64-dev: produced binaries don't work on win2000
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
626437: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626437
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mingw-w64-dev
Version: 1.0+20101003-1
Severity: normal
Tags: patch

Executables produced by recent mingw fail on start on win2k and XP sp0
with a message "___lc_codepage_func in DLL msvcrt.dll" .

This regression is introduced in SVN revision 2285:

Author: jon_y
Date:   Sun May 2 10:32:30 2010 +0000

    use ___lc_codepage_func instead of __lc_codepage to get codepage.


diff --git a/mingw-w64-crt/misc/mb_wc_common.h 
b/mingw-w64-crt/misc/mb_wc_common.h
index af633b8..50794ea 100644
--- a/mingw-w64-crt/misc/mb_wc_common.h
+++ b/mingw-w64-crt/misc/mb_wc_common.h
@@ -4,11 +4,11 @@
  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  */
 
-#undef __lc_codepage
-__declspec(dllimport) extern unsigned int __lc_codepage;
+#include <_mingw.h>
+_CRTIMP unsigned int ___lc_codepage_func(void);
 
 static inline
 unsigned int get_codepage (void)
 {
-       return __lc_codepage;   
+  return ___lc_codepage_func();
 }


This change is trivially revertable, and if you do so, executables start to
work again.  It would be better to use one of proper win32 locale handling
functions rather than undocumented __lc_codepage or __lc_codepage_func(),
but that's better decided by upstream; simple reversion of this patch is
more conservative.

I tried reporting this on upstream's bug tracker, but they use SourceForge
which is as usually broken, throwing an error whenever I try to log in.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (150, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: mingw-w64
Source-Version: 1.0+20110428-1

We believe that the bug you reported is fixed in the latest version of
mingw-w64, which is due to be installed in the Debian FTP archive:

mingw-w64-dev_1.0+20110428-1_all.deb
  to main/m/mingw-w64/mingw-w64-dev_1.0+20110428-1_all.deb
mingw-w64_1.0+20110428-1.debian.tar.gz
  to main/m/mingw-w64/mingw-w64_1.0+20110428-1.debian.tar.gz
mingw-w64_1.0+20110428-1.dsc
  to main/m/mingw-w64/mingw-w64_1.0+20110428-1.dsc
mingw-w64_1.0+20110428-1_all.deb
  to main/m/mingw-w64/mingw-w64_1.0+20110428-1_all.deb
mingw-w64_1.0+20110428.orig.tar.bz2
  to main/m/mingw-w64/mingw-w64_1.0+20110428.orig.tar.bz2



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stephen Kitt <[email protected]> (supplier of updated mingw-w64 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 04 Jun 2011 00:52:35 +0200
Source: mingw-w64
Binary: mingw-w64-dev mingw-w64
Architecture: source all
Version: 1.0+20110428-1
Distribution: unstable
Urgency: low
Maintainer: Stephen Kitt <[email protected]>
Changed-By: Stephen Kitt <[email protected]>
Description: 
 mingw-w64  - Development environment targetting 32- and 64-bit Windows
 mingw-w64-dev - Development files for MinGW-w64
Closes: 625496 626437
Changes: 
 mingw-w64 (1.0+20110428-1) unstable; urgency=low
 .
   * New upstream snapshot.
   * Enable all SDKs, including DirectX. (Closes: #625496.)
   * Correctly define arch and indep targets and dependencies.
   * Standards-Version 3.9.2, no change required.
   * Use MinGW version of mb_wc_common.h. (Closes: #626437.)
   * Update float.h to include gcc 4.6 changes.
Checksums-Sha1: 
 ac2bbba97e3991912530833b488f9f09bfd6feef 1400 mingw-w64_1.0+20110428-1.dsc
 e34c85101f65a7e0f281ac72d16c42fa60c13afe 4583158 
mingw-w64_1.0+20110428.orig.tar.bz2
 a5ec2cd8139146c70be4157ebfad4de1598fed76 7858 
mingw-w64_1.0+20110428-1.debian.tar.gz
 bca1343666e7c8ab170e37f72122ec9b11c8c6f5 13611252 
mingw-w64-dev_1.0+20110428-1_all.deb
 809701c71b3bb47238ae55d7833701a8c5012282 5168 mingw-w64_1.0+20110428-1_all.deb
Checksums-Sha256: 
 395221cab0891d3d514b43cf32163c7af7ef1bcc0c24dace4c3e3b19cf3ef271 1400 
mingw-w64_1.0+20110428-1.dsc
 59a58ba623e0c3fdc5137ec1909eaf02885cd9964b1d50b1923e92cce021560d 4583158 
mingw-w64_1.0+20110428.orig.tar.bz2
 d661ca3eac47a88cc2bb48e3a7b374a767ec718254984f70bc68937b7e43b5b1 7858 
mingw-w64_1.0+20110428-1.debian.tar.gz
 e303939dd318ad0df5b9e9609b7d752f8a540c4d59cbe57da7778d3d8467c5b3 13611252 
mingw-w64-dev_1.0+20110428-1_all.deb
 c62f543fe31df8f69de6fda7f0a3304d060ba01bfdb89c3f70054c35d2fc5de6 5168 
mingw-w64_1.0+20110428-1_all.deb
Files: 
 d9e91ff4a0a0742ae2efc8bdd3a51a8e 1400 devel extra mingw-w64_1.0+20110428-1.dsc
 7d6415b11fe7a74b51d5b64712030358 4583158 devel extra 
mingw-w64_1.0+20110428.orig.tar.bz2
 594ba189d07ea2e693004b7d07f9be54 7858 devel extra 
mingw-w64_1.0+20110428-1.debian.tar.gz
 e756ee8702daf9ce90e2b8483c629913 13611252 devel extra 
mingw-w64-dev_1.0+20110428-1_all.deb
 e7d186cd9e57a37175de753d0b848620 5168 devel extra 
mingw-w64_1.0+20110428-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iJwEAQECAAYFAk3uRgIACgkQKA1Vt+jBwDjHrQP8DrgUiexPc+yeIXr3g5ZqnwB7
Db+o9iplxFWkWKfPJ1cFUfoPCrFaMw0Q0+/3oAfU39bJ7xcHG9Yi2N9+3TxK2wj1
uT7TUQXUGSFRzKHDblqY6uumsWRikjWXwHo/6/MSy0c/G5Gb1Yd79c5SUJ47Gn2V
jyJaU1xVSLU5V5QgjJg=
=HCp9
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to