Skip Menu |

This queue is for tickets about the PDF-Reuse CPAN distribution.

Report information
The Basics
Id: 100788
Status: resolved
Priority: 0/
Queue: PDF-Reuse

People
Owner: cnighs [...] cpan.org
Requestors: cnighs [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.36



Subject: Catchall for Debian package fixes
This bug is a catchall for fixes applied to Debian packages over the years but not applied here. http://anonscm.debian.org/cgit/pkg-perl/packages/libpdf-reuse-perl.git/tree/debian/patches
Patches attached.
Subject: fix-pod.patch
Author: gregor herrmann <gregoa@debian.org> Description: add missing empty line to POD to avoid errors from pod2man --- a/Reuse.pm +++ b/Reuse.pm @@ -1612,6 +1612,7 @@ To write a program with PDF::Reuse, you need these components: =begin html + <style> pre span.comment { color:AA0000 ;
Subject: uninitialized_warning.patch
Author: Patrick Matthäi <patrick.matthaei@web.de> Description: avoid warnings about "Use of uninitialized value $string in unpack ..." Bug: #506214 --- a/Reuse.pm +++ b/Reuse.pm @@ -1281,8 +1281,10 @@ if (ref($PDF::Reuse::Util::font_widths{$Font}) eq 'ARRAY') { my @font_table = @{ $PDF::Reuse::Util::font_widths{$Font} }; - for (unpack ("C*", $string)) - { $w += $font_table[$_]; + if (defined $string) { + for (unpack ("C*", $string)) + { $w += $font_table[$_]; + } } } else
Patched in master and 0.36 on github.