Package: src:gzip
Version: 1.6-1
Severity: normal
Tags: upstream patch

Hi Bdale,

I'm going to upload a new version of mingw-w64 soon, but it causes
gzip to FTBFS. The new version of mingw-w64 causes a formerly-unused
portion of gnulib to be pulled in, and this portion incorrectly uses
cdecl. There's already a fix in gnulib upstream, which I'm attaching
here in DEP-3 format; I've checked it and it builds fine (and the
resulting Windows binary works).

If it's any help I can of course upload a NMU. I'm leaving the bug
severity at normal for now, I'll upgrade it to serious once the
updated mingw-w64 is in the archive.

Regards,

Stephen


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

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

Versions of packages gzip depends on:
ii  dpkg          1.16.10
ii  install-info  5.1.dfsg.1-3
ii  libc6         2.17-3

gzip recommends no packages.

Versions of packages gzip suggests:
ii  less  458-2

-- no debconf information
Description: Use __cdecl instead of cdecl
Author: Paul Eggert <[email protected]>
Origin: http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=86725346a1b116f3c2da26c124288f5f4495bf69

diff --git a/lib/msvc-inval.c b/lib/msvc-inval.c
index ef2b860..1873e23 100644
--- a/lib/msvc-inval.c
+++ b/lib/msvc-inval.c
@@ -28,7 +28,7 @@
 
 # if MSVC_INVALID_PARAMETER_HANDLING == DEFAULT_HANDLING
 
-static void cdecl
+static void __cdecl
 gl_msvc_invalid_parameter_handler (const wchar_t *expression,
                                    const wchar_t *function,
                                    const wchar_t *file,
@@ -45,7 +45,7 @@ gl_msvc_invalid_parameter_handler (const wchar_t *expression,
 
 #  if defined _MSC_VER
 
-static void cdecl
+static void __cdecl
 gl_msvc_invalid_parameter_handler (const wchar_t *expression,
                                    const wchar_t *function,
                                    const wchar_t *file,
@@ -94,7 +94,7 @@ gl_msvc_inval_current (void)
     }
 }
 
-static void cdecl
+static void __cdecl
 gl_msvc_invalid_parameter_handler (const wchar_t *expression,
                                    const wchar_t *function,
                                    const wchar_t *file,

Reply via email to