Package: libgraphics-colorobject-perl / 0.5.0-6

Metadata

Package Version Patches format
libgraphics-colorobject-perl 0.5.0-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 handle missing name Return undef unless a color name.patch | (download)

ColorObject.pm | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 [patch 1/1] [handle-missing-name]: return undef unless a color name
 is provided

Perl 5.12.0 adds new uninitialized value warnings for the lc* and uc*
functions. One of these gets triggered by Graphics::ColorObject, making
libcolor-calc-perl fail its test suite with perl_5.12.0-1 on amd64.

There is indeed a fix in this commit (unlike the last attempt), by
returning early if no color name has been provided.

Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>