[Gpg4win-devel] mingw32-runtime 3.13-1 bug

Marcus Brinkmann marcus.brinkmann at ruhr-uni-bochum.de
Wed May 14 18:09:06 CEST 2008


Hi,

if you use Ubuntu 8.04 or Debian unstable, you will encounter the
following bug in mingw32-runtime 3.13-1:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=452977

Gpg4win packages built with this version of mingw32-runtime are badly
broken.  The INPUT FD=NR assuan commands will have bizarre NRs, due to
the misinterpretation of a %ld format string as %lld.

The attached patch fixes this particular problem.  This is how it can
be installed and used:

$ apt-get source mingw32-runtime
$ sudo apt-get build-dep mingw32-runtime
$ mkdir mingw32-runtime-3.13/debian/patches
$ cp 01-snprintf.patch mingw32-runtime-3.13/debian/patches/
$ cd mingw32-runtime-3.13
$ dpkg-buildpackage -rfakeroot -uc -us -b
$ sudo dpkg -i ../mingw32-runtime_3.13-1_all.deb

Note 1: If you do not recompile version 3.13-1, you might have to
change the paths in the patch file.

Note 2: You might want to add a new changelog entry to the package
(use version number 3.13-1.1).

Have fun,
Marcus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 01-snprintf.patch
Type: application/octet-stream
Size: 667 bytes
Desc: not available
Url : http://lists.wald.intevation.org/pipermail/gpg4win-devel/attachments/20080514/d3e7ff3f/01-snprintf.obj
-------------- next part --------------





More information about the Gpg4win-devel mailing list