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

sebastic pushed a commit to branch master
in repository pdl.

commit 9514c0df1f126ece5b3977c43567b94c50e59631
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Sun Oct 9 12:28:21 2016 +0200

    Add patch to fix pod2man errors.
---
 debian/changelog                                     |  1 +
 debian/patches/manpage-has-errors-from-pod2man.patch | 15 +++++++++++++++
 debian/patches/series                                |  1 +
 3 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 82a6d09..e36d893 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ pdl (1:2.017-1) UNRELEASED; urgency=medium
   * Drop patches applied upstream. Refresh remaining patches.
   * Update copyright format URL to use HTTPS.
   * Add patch to fix spelling errors.
+  * Add patch to fix pod2man errors.
 
  -- Bas Couwenberg <sebas...@debian.org>  Sun, 09 Oct 2016 09:50:01 +0200
 
diff --git a/debian/patches/manpage-has-errors-from-pod2man.patch 
b/debian/patches/manpage-has-errors-from-pod2man.patch
new file mode 100644
index 0000000..92bb714
--- /dev/null
+++ b/debian/patches/manpage-has-errors-from-pod2man.patch
@@ -0,0 +1,15 @@
+Description: Fix pod2man errors for empty parameter values.
+Author: Bas Couwenberg <sebas...@debian.org>
+Forwarded: https://sourceforge.net/p/pdl/bugs/429/
+
+--- a/Lib/Transform/Proj4/Proj4.pd
++++ b/Lib/Transform/Proj4/Proj4.pd
+@@ -469,7 +469,7 @@ ENDTEMPLATE
+     {
+         $doc_param_list .= "\nProjection Parameters\n\n=for options\n\n=over 
4\n\n";
+         foreach my $param ( sort @{ $projection->{PARAMS}->{PROJ} } )
+-            { $doc_param_list .= "=item $param\n\n"; }
++            { next if(!$param); $doc_param_list .= "=item $param\n\n"; }
+           $doc_param_list .= "=back\n\n";
+     }
+     
diff --git a/debian/patches/series b/debian/patches/series
index a84047e..b383203 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ disable-doc-install.patch
 pdl-ldflags.patch
 absolute-doc-paths.patch
 spelling-errors.patch
+manpage-has-errors-from-pod2man.patch

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

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to