[libcolor-library-perl] 01/04: Update debian/patches/pod-fixes.patch.

gregor herrmann gregoa at debian.org
Thu Mar 2 21:54:33 UTC 2017


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libcolor-library-perl.

commit c5934a6d98d46d63201042be2fe986e7a340f575
Author: gregor herrmann <gregoa at debian.org>
Date:   Thu Mar 2 22:44:27 2017 +0100

    Update debian/patches/pod-fixes.patch.
    
    Put the missing closing "=back" directives for the item lists in the right
    places. The previous version not only showed code in the POD but more
    importantly effectively masked the parse_rgb_color() method.
    
    Thanks: Jeff Norden for the bug report and the patch.
    Closes: #856562
---
 debian/patches/pod-fixes.patch | 26 ++++++++++++++++++++++----
 1 file changed, 22 insertions(+), 4 deletions(-)

diff --git a/debian/patches/pod-fixes.patch b/debian/patches/pod-fixes.patch
index 100f44c..10acc9b 100644
--- a/debian/patches/pod-fixes.patch
+++ b/debian/patches/pod-fixes.patch
@@ -3,19 +3,37 @@ Origin: vendor
 Bug: https://rt.cpan.org/Ticket/Display.html?id=86023
 Forwarded: https://rt.cpan.org/Ticket/Display.html?id=86023
 Author: gregor herrmann <gregoa at debian.org>
-Last-Update: 2013-06-09
+Last-Update: 2017-03-02
 
 --- a/lib/Color/Library/Color.pm
 +++ b/lib/Color/Library/Color.pm
-@@ -227,6 +227,8 @@
+@@ -134,6 +134,8 @@
+ 
+ You probably don't want/need to call this yourself
  
++=back
++
  =cut
  
+ # FUTURE Note that $value may be a numeric value, a hex value, or a 3 element r-g-b array
+@@ -168,8 +170,6 @@
+     return $self;
+ }
+ 
+-=back
+-
+ =head2 FUNCTIONS
+ 
+ =over 4
+@@ -225,6 +225,8 @@
+ 
+ Makes a best effort to convert a hex or numeric color value to its rgb representation
+ 
 +=back
 +
+ =cut
+ 
  # Partly taken from Imager/Color.pm
- sub parse_rgb_color {
-     return (@_) if @_ == 3 && ! grep /[^\d.+eE-]/, @_;
 --- a/lib/Color/Library/Dictionary.pm
 +++ b/lib/Color/Library/Dictionary.pm
 @@ -227,6 +227,8 @@

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libcolor-library-perl.git



More information about the Pkg-perl-cvs-commits mailing list