tags 445842 + pending thanks Dear maintainer,
I've prepared an NMU for rmagic (versioned as 2.21-4.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards. -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Dido: Here With Me
diff -u rmagic-2.21/debian/changelog rmagic-2.21/debian/changelog --- rmagic-2.21/debian/changelog +++ rmagic-2.21/debian/changelog @@ -1,3 +1,11 @@ +rmagic (2.21-4.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "fails with current libgd": add patch 1001_gd_zero_malloc.patch from + Andreas Beckmann. (Closes: #445842, LP: #315280) + + -- gregor herrmann <gre...@debian.org> Wed, 08 Feb 2012 21:47:42 +0100 + rmagic (2.21-4) unstable; urgency=low * Add Homepage hint to long description. diff -u rmagic-2.21/debian/patches/series rmagic-2.21/debian/patches/series --- rmagic-2.21/debian/patches/series +++ rmagic-2.21/debian/patches/series @@ -2,4 +2,5 @@ 0002_fr_locale_update.patch 0003_nl_locale.patch +1001_gd_zero_malloc.patch 2001_static_exec_dir.patch 2002_no_link_to_other_licenses.patch only in patch2: unchanged: --- rmagic-2.21.orig/debian/patches/1001_gd_zero_malloc.patch +++ rmagic-2.21/debian/patches/1001_gd_zero_malloc.patch @@ -0,0 +1,15 @@ +# modern libgd produces an error when allocating zero bytes (when creating a 0x0 image), +# causing the object not to exist and rmagic to fail afterwards +Index: rmagic-2.21/wadg/rm/Settings.pm +=================================================================== +--- rmagic-2.21.orig/wadg/rm/Settings.pm 2007-10-06 12:54:34.000000000 +0200 ++++ rmagic-2.21/wadg/rm/Settings.pm 2007-10-06 12:56:08.000000000 +0200 +@@ -907,7 +907,7 @@ + # Check GD for support of desired output format. If none + # given or not capable, then set output format accordingly. + # +- my $g = new GD::Image(0,0); ++ my $g = new GD::Image(1,1); + + if( defined $self->val( 'graphs', 'Format' ) ) { + if( $self->val( 'graphs', 'Format' ) =~ /jpe?g/i ) {
signature.asc
Description: Digital signature