Package: gnupg
Version: 1.4.15-1.1
Severity: normal
Tags: patch

Dear Maintainer,

I'm getting ready to upload a new version of gcc-mingw-w64 using gcc
4.8 and enabling libgomp. This causes the gpgv-win32 build to attempt
to build mpicalc.exe, which fails because the assembly code in libmpi
doesn't use underscores as it should when targeting Windows.

The attached patch fixes this; I'll be forwarding it upstream too.

Regards,

Stephen


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (200, 'unstable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages gnupg depends on:
ii  gpgv          1.4.15-1.1
ii  libbz2-1.0    1.0.6-5
ii  libc6         2.17-93
ii  libreadline6  6.2+dfsg-0.1
ii  libusb-0.1-4  2:0.1.12-23.2
ii  zlib1g        1:1.2.8.dfsg-1

Versions of packages gnupg recommends:
ii  gnupg-curl     1.4.15-1.1
ii  libldap-2.4-2  2.4.31-1+nmu2+b1

Versions of packages gnupg suggests:
pn  gnupg-doc     <none>
ii  imagemagick   8:6.7.7.10-6
ii  libpcsclite1  1.8.10-1

-- no debconf information
Subject: Use underscores for linking on all mingw32 targets
From: Stephen Kitt <sk...@debian.org>

All MinGW targets require underscores when linking. This patch fixes
acinclude.m4 and the resulting configure so they don't limit the use
of underscores to the old mingw32msvc targets.

--- a/acinclude.m4
+++ b/acinclude.m4
@@ -692,7 +692,7 @@
 AC_DEFUN([GNUPG_SYS_SYMBOL_UNDERSCORE],
 [tmp_do_check="no"
 case "${host}" in
-    *-mingw32msvc*)
+    *-mingw32*)
         ac_cv_sys_symbol_underscore=yes
         ;;
     i386-emx-os2 | i[3456]86-pc-os2*emx | i386-pc-msdosdjgpp)
--- a/configure
+++ b/configure
@@ -7314,7 +7314,7 @@
 
 tmp_do_check="no"
 case "${host}" in
-    *-mingw32msvc*)
+    *-mingw32*)
         ac_cv_sys_symbol_underscore=yes
         ;;
     i386-emx-os2 | i345686-pc-os2*emx | i386-pc-msdosdjgpp)

Reply via email to