Bug#856562: libcolor-library-perl: debian patch breaks some package functionality
gregor herrmann
gregoa at debian.org
Thu Mar 2 21:54:57 UTC 2017
Control: severity -1 important
# breaks a function
On Thu, 02 Mar 2017 08:06:07 -0600, Jeff Norden wrote:
> The debian patch to this library disables the parse_rgb_color() subroutine:
>
> jeff at norden:~$ perl -d -e1
> ...
> DB<1> use Color::Library::Color
> DB<2> @rgb= Color::Library::Color::parse_rgb_color('#2a547e')
> Undefined subroutine &Color::Library::Color::parse_rgb_color called at (eval 10)[/usr/share/perl/5.22/perl5db.pl:737] line 2.
>
> The @rgb array should have been set to (42,84,126). The problem is that the
> =back added to Color.pm is misplaced. In fact, the code for the parse
> subroutine shows up in the man page!
Oh dear, that's indeed bad. Thanks for catching this mistake.
> Attached is a corrected version of pod-fixes.patch. It also moves the first
> =back in Color.pm to a more reasonable position. Alternatively, you could
> just delete the patch and ignore the mostly-harmless warnings at the end of
> the man pages.
Thanks for the patch!
Uploaded to unstable.
Cheers,
gregor
--
.''`. https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
: :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D 85FA BB3A 6801 8649 AA06
`. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
`- NP: Dido: Honestly OK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20170302/c14e24a6/attachment.sig>
More information about the pkg-perl-maintainers
mailing list